Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.0008388/0.0008384, allocations: 91.22 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.00084/0.0008401, 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.522/1.522, 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.609/2.609, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005882/0.0005883, allocations: 15.98 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.9003, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001508/0.9018, allocations: 0.5732 MB / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.9032, allocations: 0.8586 MB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.9033, allocations: 4 kB / 0.9825 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.9033, allocations: 7.922 kB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.9034, allocations: 15.86 kB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.9037, allocations: 19.97 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.9039, allocations: 99.64 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.904, allocations: 33.28 kB / 0.9827 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.9042, allocations: 35.84 kB / 0.9828 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.9043, allocations: 35.84 kB / 0.9828 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.9043, allocations: 4 kB / 0.9828 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.9043, allocations: 4 kB / 0.9828 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.9044, allocations: 19.91 kB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.9045, allocations: 37.64 kB / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.9046, allocations: 90.05 kB / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.9046, allocations: 0 / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.916e-06/0.9046, allocations: 3.938 kB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.9046, allocations: 0 / 0.9829 GB, free: 4.398 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009524/0.9056, allocations: 466.8 kB / 0.9834 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.9057, allocations: 12.03 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.9057, allocations: 34.56 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.9058, allocations: 15.81 kB / 0.9834 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.906, allocations: 188.3 kB / 0.9836 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.906, allocations: 4 kB / 0.9836 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.9061, allocations: 11.95 kB / 0.9836 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.9063, allocations: 94.64 kB / 0.9837 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.9064, allocations: 7.969 kB / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.9064, allocations: 0 / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.9064, allocations: 0 / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.9066, allocations: 75.97 kB / 0.9838 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.9074, allocations: 412.4 kB / 0.9842 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.9076, allocations: 74.48 kB / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/0.9077, allocations: 36.97 kB / 0.9843 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.9077, allocations: 0 / 0.9843 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.9078, allocations: 30.56 kB / 0.9843 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.9078, allocations: 0 / 0.9843 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003638/0.9081, allocations: 121.6 kB / 0.9845 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.9082, allocations: 63.3 kB / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.9083, allocations: 152.4 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.9084, allocations: 41.64 kB / 0.9847 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.9084, allocations: 96.12 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.9085, allocations: 19.88 kB / 0.9848 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.9085, allocations: 0 / 0.9848 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9086, allocations: 322.8 kB / 0.9851 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.9087, allocations: 31.98 kB / 0.9851 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.9088, allocations: 39.97 kB / 0.9852 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.9089, allocations: 24 kB / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9089, allocations: 0 / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002045/0.9091, allocations: 101.6 kB / 0.9853 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.9091, allocations: 12 kB / 0.9853 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9091, allocations: 0 / 0.9853 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.9091, allocations: 3.938 kB / 0.9853 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.9093, allocations: 15.92 kB / 0.9853 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.9093, allocations: 3.953 kB / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.9094, allocations: 35.88 kB / 0.9854 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.9094, allocations: 4 kB / 0.9854 GB, free: 1.672 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001009/0.9095, allocations: 117.8 kB / 0.9855 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.9096, allocations: 7.906 kB / 0.9855 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.9096, allocations: 16.3 kB / 0.9855 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.9096, allocations: 0 / 0.9855 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9096, allocations: 0 / 0.9855 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9097, allocations: 7.953 kB / 0.9855 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.9099, allocations: 201.6 kB / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9099, allocations: 0 / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.9099, allocations: 11.98 kB / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9099, allocations: 0 / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.91, allocations: 0 / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.91, allocations: 0 / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.91, allocations: 256 / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.9102, allocations: 207.3 kB / 0.9859 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.9103, allocations: 84.95 kB / 0.986 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.9103, allocations: 4 kB / 0.986 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.9105, allocations: 31.97 kB / 0.986 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.9106, allocations: 15.97 kB / 0.9861 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.9106, allocations: 3.984 kB / 0.9861 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.9107, allocations: 120.9 kB / 0.9862 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9107, allocations: 0 / 0.9862 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002373/0.9109, allocations: 15.91 kB / 0.9862 GB, free: 0.7539 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 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005933/0.9115, allocations: 0.7357 MB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.9118, allocations: 83.88 kB / 0.987 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9118, allocations: 0 / 0.987 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.254e-05/0.9119, allocations: 35.92 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.9122, allocations: 13.55 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.9134, allocations: 0.6934 MB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.9137, allocations: 0.7003 MB / 0.9884 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.9137, allocations: 8 kB / 0.9884 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.9138, allocations: 31.48 kB / 0.9884 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.9138, allocations: 0 / 0.9884 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.9279, allocations: 2.265 MB / 0.9906 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/0.9282, allocations: 205.3 kB / 0.9908 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.73, allocations: 4.062 kB / 0.9908 GB, free: 12.03 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat does not exist to compare? outputFormat=mat