Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.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.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",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.00718/0.00718, allocations: 100.5 kB / 15.73 MB, free: 6.473 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.0016/0.0016, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.367/2.367, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001117, allocations: 65 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2639, allocations: 140.4 MB / 1.088 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001902/0.2659, allocations: 0.678 MB / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.267, allocations: 0.8082 MB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.2671, allocations: 0 / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.2671, allocations: 3.938 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.2672, allocations: 3.938 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.2673, allocations: 11.98 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.2674, allocations: 19.98 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.2675, allocations: 11.94 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.2676, allocations: 11.94 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.2676, allocations: 7.984 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2676, allocations: 4 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.2677, allocations: 0 / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.2677, allocations: 11.92 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.2677, allocations: 7.984 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.113e-05/0.2678, allocations: 19.91 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2678, allocations: 0 / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2678, allocations: 0 / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2678, allocations: 0 / 1.089 GB, free: 372 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.0004494/0.2683, allocations: 342.4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2683, allocations: 8.031 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2684, allocations: 34.75 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.2684, allocations: 8.844 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2685, allocations: 160.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.2685, allocations: 384 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.2685, allocations: 384 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.2687, allocations: 58.17 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2687, allocations: 7.875 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.2687, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2687, allocations: 4 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.269, allocations: 31.95 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.2693, allocations: 240.9 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2694, allocations: 50.47 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2695, allocations: 20.91 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2695, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2696, allocations: 30.56 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2696, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003433/0.2699, allocations: 85.58 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.27, allocations: 51.41 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.2701, allocations: 105.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2701, allocations: 25.7 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.2701, allocations: 92.05 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.2702, allocations: 4.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2702, allocations: 13.72 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2703, allocations: 315 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.2704, allocations: 19.97 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.2705, allocations: 11.98 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.2706, allocations: 40.83 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2706, allocations: 3.938 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001927/0.2708, allocations: 73.62 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2709, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2709, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2709, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.271, allocations: 15.92 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.271, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.271, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.2711, allocations: 3.984 kB / 1.091 GB, free: 14.3 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 7.62e-05/0.2711, allocations: 118.1 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.2712, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.2714, allocations: 68.78 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2714, allocations: 4 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2714, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2714, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2716, allocations: 173.5 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2716, allocations: 4.031 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.2717, allocations: 8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2717, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2717, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2717, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2717, allocations: 3.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.272, allocations: 163.5 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.2721, allocations: 85 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2721, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.2722, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.2722, allocations: 3.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.2722, allocations: 4 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.37e-05/0.2723, allocations: 79.28 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2723, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000205/0.2725, allocations: 0 / 1.092 GB, free: 13.48 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.0005404/0.2731, allocations: 0.7045 MB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.2733, allocations: 39.98 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2733, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.2734, allocations: 15.98 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2737, allocations: 5.562 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.2741, allocations: 135.2 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.2744, allocations: 0.6768 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.2744, allocations: 8.125 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.2745, allocations: 11.44 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.2745, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.3267, allocations: 1.293 MB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.927, allocations: 7.062 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches