Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.259/2.259, allocations: 393.5 MB / 408.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 190.5 kB / 0.4901 GB, free: 2.297 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000978/0.0009781, allocations: 106.1 kB / 0.9396 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 10.38 kB / 1.09 GB, free: 216.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3214, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.52, allocations: 150.3 MB / 1.376 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5203, allocations: 71.97 kB / 1.376 GB, free: 3.352 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.006677/0.527, allocations: 2.177 MB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.527, allocations: 4 kB / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.527, allocations: 0 / 1.378 GB, free: 1.168 MB / 0.8698 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.0004844/0.5275, allocations: 381 kB / 1.379 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.5276, allocations: 8.562 kB / 1.379 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.933e-05/0.5277, allocations: 42.44 kB / 1.379 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.5277, allocations: 7.953 kB / 1.379 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.5279, allocations: 163.1 kB / 1.379 GB, free: 488 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.5279, allocations: 0 / 1.379 GB, free: 488 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.5279, allocations: 4 kB / 1.379 GB, free: 484 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.528, allocations: 49.61 kB / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.5281, allocations: 0 / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.5281, allocations: 0 / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.5281, allocations: 0 / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.5281, allocations: 4 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.5285, allocations: 252.9 kB / 1.379 GB, free: 120 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.779e-05/0.5286, allocations: 38.5 kB / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.5286, allocations: 0 / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.5288, allocations: 51.5 kB / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.5288, allocations: 0 / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0002458/0.529, allocations: 81.58 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.5291, allocations: 55.36 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.5292, allocations: 100.9 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.5292, allocations: 29.7 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.5293, allocations: 88.06 kB / 1.38 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.5293, allocations: 11.84 kB / 1.38 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.5293, allocations: 4 kB / 1.38 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5294, allocations: 314.8 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.5295, allocations: 12 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.5295, allocations: 35.42 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.5295, allocations: 12 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5295, allocations: 0 / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001096/0.5297, allocations: 73.75 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5297, allocations: 7.984 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5297, allocations: 8.062 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5297, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.5298, allocations: 8.25 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5298, allocations: 3.938 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.5299, allocations: 11.95 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.5299, allocations: 11.98 kB / 1.38 GB, free: 15.09 MB / 0.8855 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 8.611e-05/0.53, allocations: 106.7 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.53, allocations: 7.906 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.53, allocations: 11.55 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.53, allocations: 4 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.53, allocations: 0 / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5301, allocations: 0 / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.5304, allocations: 302.5 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5304, allocations: 0 / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.5304, allocations: 4 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5304, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.5304, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5304, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5305, allocations: 3.953 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.5306, allocations: 167.5 kB / 1.381 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.5307, allocations: 81.11 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.5307, allocations: 0 / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.5308, allocations: 0 / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.5308, allocations: 0 / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.5308, allocations: 11.94 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.5309, allocations: 83.28 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5309, allocations: 7.938 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003161/0.5312, allocations: 43.94 kB / 1.381 GB, free: 14.18 MB / 0.8855 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.0008441/0.532, allocations: 0.78 MB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.5322, allocations: 31.98 kB / 1.382 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5322, allocations: 0 / 1.382 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.5322, allocations: 19.94 kB / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.5324, allocations: 0 / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.5332, allocations: 0.8097 MB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.5336, allocations: 0.6809 MB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.5336, allocations: 11.98 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.5337, allocations: 7.438 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.5337, allocations: 0 / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.549, allocations: 1.938 MB / 1.385 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.5493, allocations: 223.3 kB / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.137, allocations: 0 / 1.385 GB, free: 9.688 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat does not exist to compare? outputFormat=mat