Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008009/0.0008009, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008026/0.0008026, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8521/0.8521, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.9 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.192e-05, allocations: 4.953 kB / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001767/0.001789, allocations: 0.8804 MB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.002718, allocations: 0.9249 MB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.00277, allocations: 4 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.002806, allocations: 15.8 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.467e-05/0.002891, allocations: 11.86 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.003119, allocations: 55.77 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.003234, allocations: 131.6 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.00335, allocations: 33.72 kB / 0.983 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.003517, allocations: 79.86 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.00359, allocations: 43.88 kB / 0.9831 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.003611, allocations: 12 kB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.263e-05/0.003653, allocations: 16 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.00368, allocations: 31.84 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.003713, allocations: 35.92 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.003886, allocations: 163.4 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003888, allocations: 0 / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003889, allocations: 0 / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.003894, allocations: 4 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004447/0.004338, allocations: 365.7 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.004379, allocations: 12.03 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.00441, allocations: 34.75 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.004545, allocations: 36.81 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.004744, allocations: 160 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.004756, allocations: 8.375 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.004771, allocations: 16.36 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.004936, allocations: 108.5 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.004944, allocations: 0 / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004955, allocations: 4 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.004959, allocations: 0 / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.005073, allocations: 67.95 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.005491, allocations: 351.8 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.005663, allocations: 82.55 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.005721, allocations: 40.98 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.005737, allocations: 0 / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.005756, allocations: 38.55 kB / 0.9846 GB, free: 14.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.005757, allocations: 0 / 0.9846 GB, free: 14.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002463/0.006003, allocations: 129.5 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.006174, allocations: 55.41 kB / 0.9848 GB, free: 14.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.006285, allocations: 160.3 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.0063, allocations: 29.7 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.006356, allocations: 116.2 kB / 0.9851 GB, free: 14.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.006373, allocations: 11.91 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.00641, allocations: 25.7 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.00649, allocations: 322.8 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.006545, allocations: 31.98 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.006624, allocations: 105.9 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.709e-05/0.006711, allocations: 68.8 kB / 0.9856 GB, free: 13.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.006714, allocations: 0 / 0.9856 GB, free: 13.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001326/0.006847, allocations: 109.5 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.00686, allocations: 8 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.006864, allocations: 0 / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.006876, allocations: 4.219 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.006922, allocations: 15.98 kB / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.006927, allocations: 0 / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.006969, allocations: 19.88 kB / 0.9858 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.006975, allocations: 0 / 0.9858 GB, free: 13.47 MB / 0.948 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.007043, allocations: 125.8 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.007061, allocations: 11.91 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.007087, allocations: 16.78 kB / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.00709, allocations: 3.938 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.007094, allocations: 0 / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.007097, allocations: 0 / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.007227, allocations: 168.7 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007229, allocations: 4 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.007264, allocations: 15.92 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.007265, allocations: 0 / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.007275, allocations: 7.984 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007276, allocations: 4.25 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007277, allocations: 0 / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.007422, allocations: 191.5 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.007434, allocations: 11.91 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.007451, allocations: 4 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.007504, allocations: 19.92 kB / 0.9863 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.007555, allocations: 19.97 kB / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.007559, allocations: 0 / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.007613, allocations: 123.8 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007613, allocations: 0 / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001609/0.007774, allocations: 15.94 kB / 0.9865 GB, free: 12.67 MB / 0.948 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003182/0.008093, allocations: 0.7397 MB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.008244, allocations: 79.89 kB / 0.9873 GB, free: 11.83 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008246, allocations: 0 / 0.9873 GB, free: 11.83 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.008295, allocations: 35.92 kB / 0.9873 GB, free: 11.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.008502, allocations: 18.84 kB / 0.9873 GB, free: 11.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.009706, allocations: 1.664 MB / 0.9889 GB, free: 10.03 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.00976, allocations: 85.31 kB / 0.989 GB, free: 9.926 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.0098, allocations: 8.719 kB / 0.989 GB, free: 9.918 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.009861, allocations: 44.48 kB / 0.9891 GB, free: 9.875 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.009861, allocations: 288 / 0.9891 GB, free: 9.875 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.02749, allocations: 3.366 MB / 0.9924 GB, free: 6.664 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/6.95, allocations: 4 kB / 0.9924 GB, free: 6.66 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.954319979064167]