Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.001112/0.001112, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001652/0.001652, allocations: 168.7 kB / 15.95 MB, free: 204 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.449/1.449, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.605/2.605, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003865, allocations: 15.94 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7982, allocations: 146.8 MB / 0.9812 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001029/0.7993, allocations: 426.4 kB / 0.9816 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.8004, allocations: 0.8102 MB / 0.9824 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.8004, allocations: 4 kB / 0.9824 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.8004, allocations: 3.938 kB / 0.9824 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.8005, allocations: 3.938 kB / 0.9824 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.8006, allocations: 7.984 kB / 0.9824 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.8008, allocations: 35.92 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.8009, allocations: 7.984 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.528e-05/0.801, allocations: 15.94 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.801, allocations: 27.89 kB / 0.9825 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.801, allocations: 0 / 0.9825 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.8011, allocations: 4 kB / 0.9825 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.8011, allocations: 4 kB / 0.9825 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.8011, allocations: 33.64 kB / 0.9825 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.557e-05/0.8012, allocations: 27.94 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.8012, allocations: 0 / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8012, allocations: 0 / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.8012, allocations: 0 / 0.9825 GB, free: 4.871 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005139/0.8017, allocations: 373.5 kB / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.8018, allocations: 8.031 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.8018, allocations: 30.56 kB / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.8019, allocations: 7.906 kB / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.8021, allocations: 163.1 kB / 0.9831 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.8021, allocations: 4 kB / 0.9831 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.8022, allocations: 0 / 0.9831 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.8024, allocations: 89.53 kB / 0.9832 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8025, allocations: 3.984 kB / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.8025, allocations: 0 / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8025, allocations: 0 / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.8028, allocations: 91.92 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.8032, allocations: 264.9 kB / 0.9835 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.8034, allocations: 78.42 kB / 0.9836 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.8037, allocations: 52.84 kB / 0.9836 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.8037, allocations: 0 / 0.9836 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.8038, allocations: 34.56 kB / 0.9837 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.946e-06/0.8038, allocations: 0 / 0.9837 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005283/0.8043, allocations: 161.5 kB / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.8044, allocations: 51.41 kB / 0.9839 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/0.8045, allocations: 113.8 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.8045, allocations: 25.7 kB / 0.984 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.8046, allocations: 96.11 kB / 0.9841 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.8046, allocations: 15.75 kB / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.8046, allocations: 0 / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8047, allocations: 310.8 kB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.8049, allocations: 47.95 kB / 0.9845 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.805, allocations: 39.97 kB / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.8052, allocations: 47.95 kB / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8052, allocations: 0 / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002946/0.8055, allocations: 121.6 kB / 0.9847 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.8055, allocations: 4 kB / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.8055, allocations: 0 / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8055, allocations: 0 / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.8057, allocations: 19.98 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8057, allocations: 4 kB / 0.9847 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.8058, allocations: 27.91 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.8058, allocations: 0 / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.874e-05/0.8059, allocations: 109.8 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.8059, allocations: 11.86 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.8063, allocations: 129.5 kB / 0.985 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8063, allocations: 0 / 0.985 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.8063, allocations: 4 kB / 0.985 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8063, allocations: 0 / 0.985 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.8065, allocations: 169.6 kB / 0.9851 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8065, allocations: 0 / 0.9851 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.322e-05/0.8066, allocations: 19.98 kB / 0.9851 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.8066, allocations: 3.953 kB / 0.9851 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.8067, allocations: 0 / 0.9851 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.8067, allocations: 0 / 0.9851 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8067, allocations: 12.31 kB / 0.9852 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.8071, allocations: 219.5 kB / 0.9854 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.8071, allocations: 81.02 kB / 0.9854 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.8071, allocations: 3.953 kB / 0.9854 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.8073, allocations: 19.92 kB / 0.9855 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.8073, allocations: 7.984 kB / 0.9855 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.8073, allocations: 7.938 kB / 0.9855 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.272e-05/0.8074, allocations: 83.28 kB / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8074, allocations: 0 / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002146/0.8076, allocations: 8 kB / 0.9856 GB, free: 1.426 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0007585/0.8084, allocations: 0.7475 MB / 0.9863 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.8087, allocations: 87.92 kB / 0.9864 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8087, allocations: 4 kB / 0.9864 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.8089, allocations: 51.95 kB / 0.9864 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.8092, allocations: 7.953 kB / 0.9864 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.8097, allocations: 170.2 kB / 0.9866 GB, free: 300 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.81, allocations: 0.6809 MB / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.8101, allocations: 0 / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.8101, allocations: 11.44 kB / 0.9873 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8101, allocations: 0 / 0.9873 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.8213, allocations: 1.299 MB / 0.9885 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.8215, allocations: 192.8 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.599, allocations: 4 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat does not exist to compare? outputFormat=mat