Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.001137/0.001142, allocations: 98.27 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.00826/0.00826, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.166/1.166, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.293/2.293, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5391, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0007064/0.5398, allocations: 410.3 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.5406, allocations: 0.7962 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.5407, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.5407, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.5408, allocations: 3.938 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.5409, allocations: 11.98 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.5409, allocations: 16 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.535e-05/0.541, allocations: 11.97 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.5411, allocations: 11.88 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.5411, allocations: 11.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.5411, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/0.5412, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.5412, allocations: 3.938 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.5412, allocations: 29.7 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.705e-05/0.5413, allocations: 23.91 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5413, allocations: 3.984 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5413, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.5413, allocations: 3.938 kB / 1.024 GB, free: 14.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003577/0.5417, allocations: 333.8 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5417, allocations: 12.03 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.5417, allocations: 34.73 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.5418, allocations: 0.9375 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.5419, allocations: 176.3 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.5419, allocations: 384 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.5419, allocations: 384 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.5421, allocations: 62.17 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5421, allocations: 3.938 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.5421, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.5421, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.5423, allocations: 47.95 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.5425, allocations: 241 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.5427, allocations: 42.5 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.865e-05/0.5428, allocations: 36.83 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.5428, allocations: 7.922 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5428, allocations: 38.56 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5428, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000339/0.5432, allocations: 97.64 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.5432, allocations: 51.41 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.5433, allocations: 97.86 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.5433, allocations: 25.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.5433, allocations: 80.27 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.5434, allocations: 23.83 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.5434, allocations: 9.719 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.5435, allocations: 310.8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.5436, allocations: 23.98 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.5436, allocations: 23.92 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.5438, allocations: 48.81 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5438, allocations: 3.938 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.544, allocations: 73.73 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.544, allocations: 14.17 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.544, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.544, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.5441, allocations: 12 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.5441, allocations: 32 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.5442, allocations: 15.98 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.5442, allocations: 0 / 1.026 GB, free: 12.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.129e-05/0.5443, allocations: 114.2 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.5443, allocations: 7.906 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.5445, allocations: 88.77 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.5446, allocations: 3.938 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5446, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5446, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.5447, allocations: 157.6 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5447, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.5448, allocations: 11.98 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5448, allocations: 4.031 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.5448, allocations: 4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5448, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5448, allocations: 3.938 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.545, allocations: 179.4 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.5451, allocations: 77.11 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.5451, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.5452, allocations: 11.98 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.5452, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.5452, allocations: 4 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.5453, allocations: 79.27 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5453, allocations: 4.031 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002064/0.5455, allocations: 8 kB / 1.027 GB, free: 11.54 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000454/0.5459, allocations: 0.7046 MB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.5461, allocations: 47.97 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5462, allocations: 96 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.5462, allocations: 27.97 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.5465, allocations: 6.391 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.5468, allocations: 138.5 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.547, allocations: 0.6731 MB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.5471, allocations: 11.98 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.5471, allocations: 7.438 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5471, allocations: 0 / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/0.59, allocations: 1.007 MB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.5902, allocations: 202.7 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.104, allocations: 0 / 1.03 GB, free: 8.688 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches