Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_10_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.001085/0.001085, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 194.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.388/2.388, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 75.88 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.501, allocations: 151.6 MB / 1.017 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002181/0.5032, allocations: 0.8766 MB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.5042, allocations: 0.8662 MB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.5043, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.5044, allocations: 11.86 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.5045, allocations: 11.81 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.5047, allocations: 51.94 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.5048, allocations: 103.7 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.5049, allocations: 49.06 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.505, allocations: 47.84 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.5051, allocations: 47.77 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.5052, allocations: 8 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.318e-05/0.5052, allocations: 16 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.5052, allocations: 23.92 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.5053, allocations: 47.67 kB / 1.02 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.5055, allocations: 129.9 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5055, allocations: 0 / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5055, allocations: 0 / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5055, allocations: 0 / 1.02 GB, free: 336 kB / 0.7637 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.0008949/0.5064, allocations: 462.9 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5064, allocations: 12.03 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.5065, allocations: 38.75 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.5065, allocations: 8.844 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.5067, allocations: 188.1 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.5067, allocations: 8.375 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.5067, allocations: 4.375 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.5069, allocations: 96.55 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5069, allocations: 3.938 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.507, allocations: 7.984 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.507, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.5072, allocations: 63.97 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.5079, allocations: 408.4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.5081, allocations: 54.56 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.5082, allocations: 36.95 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.5082, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.5082, allocations: 34.5 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.5082, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003683/0.5086, allocations: 113.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.5086, allocations: 55.34 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.5088, allocations: 160 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5088, allocations: 25.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.5089, allocations: 116 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.5089, allocations: 15.89 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.509, allocations: 21.7 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5091, allocations: 322.8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.5092, allocations: 27.98 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.5093, allocations: 27.98 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.5094, allocations: 52.77 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5094, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002166/0.5097, allocations: 97.72 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5097, allocations: 7.984 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5097, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5097, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.5098, allocations: 8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5098, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.51, allocations: 35.95 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.51, allocations: 256 / 1.022 GB, free: 13.62 MB / 0.7794 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 (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 prepare postOptimizeDAE: time 9.364e-05/0.5101, allocations: 123.2 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.5102, allocations: 7.906 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.5102, allocations: 16.31 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.5102, allocations: 8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5102, allocations: 3.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5102, allocations: 11.97 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.5104, allocations: 197.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5105, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.5105, allocations: 11.98 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5105, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5106, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5106, allocations: 3.984 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5106, allocations: 3.938 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.5108, allocations: 183.4 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.5109, allocations: 92.88 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.5109, allocations: 8 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.5111, allocations: 27.91 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.5112, allocations: 19.92 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.5112, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.681e-05/0.5113, allocations: 118.9 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5113, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002341/0.5115, allocations: 12 kB / 1.023 GB, free: 12.7 MB / 0.7794 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 (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.0005318/0.5121, allocations: 0.7163 MB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.5123, allocations: 71.89 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5124, allocations: 0 / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.5125, allocations: 31.98 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.5128, allocations: 20.12 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.5145, allocations: 1.587 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.5148, allocations: 0.7052 MB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.222e-05/0.5148, allocations: 4 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.5149, allocations: 27.42 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.5149, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1843/0.6993, allocations: 2.711 MB / 1.029 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.805, allocations: 2.188 kB / 1.029 GB, free: 6.805 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches