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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008457, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.00088/0.0008803, allocations: 172.7 kB / 15.95 MB, free: 208 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.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.672/2.672, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003683, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.867, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001243/0.8683, allocations: 0.9333 MB / 0.982 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00071/0.869, allocations: 385.4 kB / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.8691, allocations: 0 / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.8691, allocations: 0 / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.577e-05/0.8691, allocations: 7.938 kB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.8696, allocations: 83.78 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.8697, allocations: 15.98 kB / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.8697, allocations: 0 / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.8698, allocations: 11.92 kB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.682e-05/0.8698, allocations: 4 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.8698, allocations: 0 / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.87, allocations: 95.83 kB / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.87, allocations: 7.984 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.8701, allocations: 29.7 kB / 0.9827 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.8702, allocations: 71.78 kB / 0.9827 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8702, allocations: 0 / 0.9827 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8702, allocations: 0 / 0.9827 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.8703, allocations: 0 / 0.9827 GB, free: 4.633 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.0004455/0.8707, allocations: 371.3 kB / 0.9831 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8707, allocations: 12.03 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.8708, allocations: 38.55 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.8708, allocations: 4 kB / 0.9831 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.871, allocations: 170.9 kB / 0.9833 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.871, allocations: 4 kB / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.871, allocations: 4 kB / 0.9833 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.8711, allocations: 45.62 kB / 0.9833 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.8711, allocations: 0 / 0.9833 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.8711, allocations: 0 / 0.9833 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8711, allocations: 4 kB / 0.9833 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.8712, allocations: 4 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.8715, allocations: 252.9 kB / 0.9836 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.8716, allocations: 34.56 kB / 0.9836 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.8716, allocations: 16.91 kB / 0.9836 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.8716, allocations: 3.984 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.8718, allocations: 59.41 kB / 0.9837 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 3.516e-06/0.8718, allocations: 4 kB / 0.9837 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001956/0.872, allocations: 73.55 kB / 0.9838 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.872, allocations: 55.41 kB / 0.9838 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.8721, allocations: 101.8 kB / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.8721, allocations: 33.69 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.8722, allocations: 88.12 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.8722, allocations: 7.812 kB / 0.984 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.8722, allocations: 4 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.8723, allocations: 318.8 kB / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.8723, allocations: 11.98 kB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.8724, allocations: 31.44 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.8724, allocations: 19.92 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8724, allocations: 0 / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001034/0.8725, allocations: 69.58 kB / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8725, allocations: 9.156 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8726, allocations: 4 kB / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.8726, allocations: 0 / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.8726, allocations: 11.98 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.8726, allocations: 0 / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.8727, allocations: 7.906 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.8727, allocations: 0 / 0.9845 GB, free: 2.551 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 7.026e-05/0.8728, allocations: 121.7 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.8728, allocations: 3.953 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.8728, allocations: 11.56 kB / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8728, allocations: 0 / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8728, allocations: 0 / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8728, allocations: 3.984 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.8731, allocations: 302.5 kB / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8731, allocations: 0 / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.8731, allocations: 8.25 kB / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8731, allocations: 0 / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.8731, allocations: 7.984 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8731, allocations: 0 / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8731, allocations: 4 kB / 0.985 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.8733, allocations: 159.5 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.8733, allocations: 85.05 kB / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.8734, allocations: 4 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.8734, allocations: 3.938 kB / 0.9852 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.8734, allocations: 0 / 0.9852 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.8734, allocations: 4 kB / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.8735, allocations: 83.27 kB / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8735, allocations: 0 / 0.9853 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002837/0.8738, allocations: 32 kB / 0.9853 GB, free: 1.637 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.00067/0.8745, allocations: 0.7738 MB / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.8746, allocations: 31.92 kB / 0.9861 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8746, allocations: 0 / 0.9861 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.8746, allocations: 15.98 kB / 0.9861 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.8748, allocations: 4 kB / 0.9861 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.8756, allocations: 417.1 kB / 0.9865 GB, free: 336 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.8759, allocations: 0.6809 MB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.028e-05/0.876, allocations: 0 / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.876, allocations: 15.44 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.876, allocations: 4 kB / 0.9872 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.8912, allocations: 1.771 MB / 0.9889 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.8914, allocations: 230.2 kB / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.635, allocations: 0 / 0.9891 GB, free: 13.72 MB / 0.7481 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) Environment - environmentSimulation: 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