Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.004696/0.004696, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.00104/0.00104, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.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.438/2.438, allocations: 390.3 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 73.45 kB / 0.9505 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2469, allocations: 140.4 MB / 1.088 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001765/0.2487, allocations: 0.6579 MB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.2496, allocations: 0.8121 MB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.2496, allocations: 0 / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.2497, allocations: 0 / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.2497, allocations: 3.938 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.2499, allocations: 7.984 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.25, allocations: 23.94 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.2501, allocations: 11.98 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.2501, allocations: 3.938 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.2502, allocations: 11.98 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2502, allocations: 4 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.2502, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.2502, allocations: 11.92 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.2503, allocations: 4 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.933e-05/0.2504, allocations: 27.89 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2504, allocations: 0 / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2504, allocations: 4 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2504, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 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.0004428/0.2508, allocations: 334.4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2509, allocations: 12.03 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.2509, allocations: 30.75 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.251, allocations: 4.844 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2511, allocations: 168.4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2511, allocations: 4.312 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2511, allocations: 4.375 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2513, allocations: 50.23 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.2513, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2513, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2513, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.2515, allocations: 35.95 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.2518, allocations: 245 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2519, allocations: 42.44 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.272e-05/0.252, allocations: 28.89 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2521, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2521, allocations: 30.56 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2521, allocations: 3.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.2525, allocations: 85.64 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.2525, allocations: 55.34 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.2526, allocations: 93.86 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2526, allocations: 25.7 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.2527, allocations: 96.03 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.2527, allocations: 0.6875 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.2527, allocations: 13.72 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.2528, allocations: 318.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.2529, allocations: 11.98 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.253, allocations: 19.97 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2531, allocations: 40.89 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.2532, allocations: 3.938 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001938/0.2534, allocations: 69.56 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2534, allocations: 10.12 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2534, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2534, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.2535, allocations: 11.98 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2535, allocations: 3.984 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.2536, allocations: 8.031 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2536, allocations: 0 / 1.091 GB, free: 14.26 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 (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.807e-05/0.2536, allocations: 118 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.2537, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.2539, allocations: 64.97 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2539, allocations: 3.984 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2539, allocations: 4.031 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2539, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.2541, allocations: 165.5 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2541, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.2542, allocations: 15.86 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2542, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2542, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2542, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2542, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.2544, allocations: 167.5 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.2545, allocations: 85.02 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2545, allocations: 3.984 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.2546, allocations: 4 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.2546, allocations: 4 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2546, allocations: 4 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.2547, allocations: 83.3 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2547, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002212/0.2549, allocations: 7.938 kB / 1.092 GB, free: 13.43 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 (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.0005056/0.2554, allocations: 0.7007 MB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.2556, allocations: 35.95 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2556, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.2557, allocations: 23.92 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.256, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.2564, allocations: 135.4 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.2567, allocations: 0.6768 MB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.2567, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.2567, allocations: 15.44 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2567, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.2736, allocations: 1.258 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.511, allocations: 6.922 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches