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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009337/0.0009336, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005508/0.005508, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437.8 MB / 0.7121 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 15.92 kB / 0.873 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5121, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0009657/0.5131, allocations: 0.5908 MB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.5141, allocations: 0.8624 MB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.5142, allocations: 8 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.5142, allocations: 3.938 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.5143, allocations: 11.86 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.5144, allocations: 35.97 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.5146, allocations: 103.6 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.5147, allocations: 53.06 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.5148, allocations: 27.86 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.5149, allocations: 43.75 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.5149, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.5149, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.515, allocations: 15.92 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.515, allocations: 61.44 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.5151, allocations: 117.8 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5152, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5152, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.5152, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 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.0007779/0.516, allocations: 463 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.516, allocations: 12.03 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.516, allocations: 34.75 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.5161, allocations: 24.73 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5162, allocations: 173.4 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5162, allocations: 8.375 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.5163, allocations: 4.375 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.5165, allocations: 106.1 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5165, allocations: 7.875 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5165, allocations: 4 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.5165, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.5167, allocations: 75.95 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.5174, allocations: 412.4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.5176, allocations: 74.53 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.5177, allocations: 36.97 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.5177, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.5177, allocations: 34.56 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.5177, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003464/0.5181, allocations: 129.5 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.5181, allocations: 55.34 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.5182, allocations: 160.8 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5183, allocations: 33.64 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.5183, allocations: 104 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.5183, allocations: 15.89 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.5184, allocations: 17.72 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.5185, allocations: 318.8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.5186, allocations: 31.98 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.5187, allocations: 35.98 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.5188, allocations: 60.97 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5188, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000221/0.5191, allocations: 109.5 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5191, allocations: 8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.5191, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.5191, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.5192, allocations: 15.98 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5192, allocations: 3.938 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.5194, allocations: 35.88 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.5194, allocations: 4 kB / 1.028 GB, free: 11.16 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 7.605e-05/0.5195, allocations: 114.4 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.5195, allocations: 11.91 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.5196, allocations: 20.3 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5196, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5196, allocations: 3.938 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5196, allocations: 3.938 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.5198, allocations: 201.6 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5198, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.5199, allocations: 8 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5199, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5199, allocations: 3.984 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5199, allocations: 3.938 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5199, allocations: 7.938 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.5201, allocations: 191.4 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.5202, allocations: 84.95 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.5202, allocations: 4 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.5204, allocations: 32.28 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.5205, allocations: 15.92 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.5205, allocations: 7.984 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.239e-05/0.5206, allocations: 123.1 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5206, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002264/0.5208, allocations: 12 kB / 1.028 GB, free: 10.23 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.0004668/0.5213, allocations: 0.728 MB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.5215, allocations: 75.91 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.5215, allocations: 0 / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.5216, allocations: 39.98 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.5219, allocations: 15.92 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.5235, allocations: 1.631 MB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.5237, allocations: 0.7004 MB / 1.031 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.099e-05/0.5238, allocations: 7.984 kB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.5238, allocations: 31.42 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5238, allocations: 0 / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.521/2.045, allocations: 2.298 MB / 1.034 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/2.045, allocations: 221.2 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/3.586, allocations: 3.75 kB / 1.034 GB, free: 4.48 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