Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.001319, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.65/2.65, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004149, allocations: 11.98 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8884/0.8888, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001513/0.8904, allocations: 0.9216 MB / 0.9818 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.8912, allocations: 357.5 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.8912, allocations: 4 kB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.8912, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.152e-05/0.8913, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.8918, allocations: 71.72 kB / 0.9822 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.8918, allocations: 11.92 kB / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.828e-05/0.8919, allocations: 11.98 kB / 0.9822 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.8919, allocations: 8 kB / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.892, allocations: 3.984 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.892, allocations: 0 / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.8921, allocations: 67.88 kB / 0.9823 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.8922, allocations: 7.984 kB / 0.9823 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.8922, allocations: 33.64 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.8924, allocations: 55.91 kB / 0.9824 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.8924, allocations: 0 / 0.9824 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8924, allocations: 0 / 0.9824 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8924, allocations: 0 / 0.9824 GB, free: 4.781 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004966/0.8929, allocations: 375.2 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8929, allocations: 8.031 kB / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.893, allocations: 30.56 kB / 0.9828 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.8931, allocations: 4 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.8932, allocations: 167 kB / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.8932, allocations: 0 / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.8933, allocations: 8 kB / 0.9829 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.8934, allocations: 37.64 kB / 0.983 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8934, allocations: 4 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.8934, allocations: 4 kB / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8934, allocations: 4 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.8935, allocations: 11.98 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.8938, allocations: 241 kB / 0.9832 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.149e-05/0.8939, allocations: 30.52 kB / 0.9832 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.894, allocations: 7.953 kB / 0.9833 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.8941, allocations: 59.48 kB / 0.9833 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.8941, allocations: 0 / 0.9833 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002448/0.8944, allocations: 77.52 kB / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.8944, allocations: 55.41 kB / 0.9834 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.8945, allocations: 93.95 kB / 0.9835 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.8945, allocations: 33.73 kB / 0.9836 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.8946, allocations: 80.14 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.8946, allocations: 15.75 kB / 0.9837 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.8946, allocations: 0 / 0.9837 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8948, allocations: 318.8 kB / 0.984 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.8948, allocations: 8 kB / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.8949, allocations: 39.41 kB / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.8949, allocations: 19.98 kB / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8949, allocations: 0 / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000107/0.895, allocations: 77.5 kB / 0.9841 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.8951, allocations: 5.719 kB / 0.9841 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8951, allocations: 7.938 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.8951, allocations: 0 / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.8952, allocations: 8 kB / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8952, allocations: 0 / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.8952, allocations: 8.062 kB / 0.9841 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.8952, allocations: 0 / 0.9841 GB, free: 2.734 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.8953, allocations: 125.7 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.8954, allocations: 3.953 kB / 0.9842 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.8954, allocations: 11.56 kB / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8954, allocations: 0 / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8954, allocations: 0 / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8954, allocations: 0 / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.8957, allocations: 298.5 kB / 0.9845 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.8957, allocations: 3.953 kB / 0.9845 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.8958, allocations: 4 kB / 0.9846 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8958, allocations: 0 / 0.9846 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.8958, allocations: 4 kB / 0.9846 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8958, allocations: 0 / 0.9846 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.8958, allocations: 4.25 kB / 0.9846 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.896, allocations: 159.5 kB / 0.9847 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.8961, allocations: 93 kB / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.8961, allocations: 0 / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.8961, allocations: 0 / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.8962, allocations: 4 kB / 0.9848 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.8962, allocations: 3.984 kB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.8962, allocations: 75.28 kB / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8962, allocations: 0 / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003001/0.8965, allocations: 32 kB / 0.9849 GB, free: 1.832 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008424/0.8974, allocations: 0.777 MB / 0.9857 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.8975, allocations: 31.92 kB / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8975, allocations: 0 / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.8976, allocations: 20.11 kB / 0.9857 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.8977, allocations: 0.75 kB / 0.9857 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.8986, allocations: 0.7859 MB / 0.9865 GB, free: 140 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.899, allocations: 0.6836 MB / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.8991, allocations: 7.922 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.8991, allocations: 11.44 kB / 0.9872 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.8991, allocations: 0 / 0.9872 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.9175, allocations: 1.642 MB / 0.9888 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003577/0.9179, allocations: 245.7 kB / 0.989 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.891, allocations: 0 / 0.989 GB, free: 13.7 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat does not exist to compare? outputFormat=mat