Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.005323/0.005323, allocations: 100.6 kB / 15.73 MB, free: 5.562 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.001135/0.001135, allocations: 198.4 kB / 16.67 MB, free: 5.504 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 75.83 kB / 0.9505 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9265/0.928, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002307/0.9303, allocations: 0.7775 MB / 1.088 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.9317, allocations: 0.8326 MB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.9318, allocations: 1.094 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.9318, allocations: 8.625 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.78e-05/0.9319, allocations: 10.55 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.9321, allocations: 29.81 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.9323, allocations: 70.94 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.9325, allocations: 26.88 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.096e-05/0.9326, allocations: 28.39 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.9327, allocations: 40.39 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.9327, allocations: 6.656 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.9328, allocations: 7.719 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.9328, allocations: 21.19 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.9329, allocations: 25.27 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.9331, allocations: 80.17 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9331, allocations: 4 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9331, allocations: 0 / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.9331, allocations: 0 / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005907/0.9337, allocations: 381.2 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.117e-05/0.9338, allocations: 8.938 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.9338, allocations: 34.09 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.9339, allocations: 8.375 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.934, allocations: 179.8 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.934, allocations: 6.344 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.934, allocations: 7.719 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.9342, allocations: 82.7 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.9343, allocations: 3.938 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.9343, allocations: 5.641 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9343, allocations: 0.7812 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.9345, allocations: 70.53 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.935, allocations: 324.8 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.9353, allocations: 91.14 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.9354, allocations: 38.16 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.9354, allocations: 1.062 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.9355, allocations: 36.22 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.9355, allocations: 0 / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004973/0.936, allocations: 133.2 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.936, allocations: 52.16 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.9361, allocations: 120.1 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.9361, allocations: 25.7 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.9362, allocations: 105.4 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.9362, allocations: 23.36 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.9362, allocations: 21.36 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.9363, allocations: 318 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.9364, allocations: 31.34 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.9365, allocations: 31.33 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.9368, allocations: 69.55 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9368, allocations: 0.7031 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003025/0.9371, allocations: 101.4 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.9371, allocations: 6.203 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.9371, allocations: 0 / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9372, allocations: 1.188 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.9373, allocations: 16.08 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9373, allocations: 0.9062 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.9374, allocations: 18.86 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.9374, allocations: 6.734 kB / 1.092 GB, free: 1.996 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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.415e-05/0.9375, allocations: 121.6 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.9375, allocations: 3.312 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.9376, allocations: 10.67 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9376, allocations: 1 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9376, allocations: 0.7188 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9376, allocations: 4.797 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.9378, allocations: 198.3 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9378, allocations: 1.453 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.9379, allocations: 19.77 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.938, allocations: 1.109 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.938, allocations: 5.25 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.938, allocations: 1.531 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.938, allocations: 0 / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.9383, allocations: 206.5 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.9384, allocations: 87.66 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.9384, allocations: 2.141 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.9385, allocations: 6.688 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.9386, allocations: 12.27 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.9386, allocations: 6.375 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.9386, allocations: 93.42 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9386, allocations: 0 / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002203/0.9389, allocations: 9.812 kB / 1.092 GB, free: 1.293 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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.0006351/0.9395, allocations: 0.7458 MB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.9398, allocations: 75.28 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9398, allocations: 0 / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.94, allocations: 44.03 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.9403, allocations: 7.984 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.9425, allocations: 1.447 MB / 1.095 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.9428, allocations: 0.6923 MB / 1.095 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.753e-05/0.9429, allocations: 13.23 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.943, allocations: 28.94 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.943, allocations: 0 / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05958/1.003, allocations: 2.358 MB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.951, allocations: 5.109 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,round1.u,round1.y,round2.u,round2.y,round3.u,round3.y Variables in the result:gai.k,gai.u,gai.y,gai1.k,gai1.u,gai1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,round3.n,round3.u,round3.y,time