Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Asin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",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.007705/0.007705, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001868/0.001868, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2638, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001695/0.2655, allocations: 0.6555 MB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.2664, allocations: 0.7888 MB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.2664, allocations: 0 / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.2665, allocations: 7.938 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.2665, allocations: 7.938 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.2667, allocations: 11.98 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.2667, allocations: 19.88 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.2668, allocations: 15.97 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.2669, allocations: 4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.267, allocations: 15.92 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.267, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.267, allocations: 4 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.2671, allocations: 8 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.2671, allocations: 3.938 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.34e-05/0.2672, allocations: 31.89 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2672, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2672, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2672, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 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.0004067/0.2676, allocations: 339.7 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2677, allocations: 12.03 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.2677, allocations: 30.75 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.133e-05/0.2677, allocations: 4.938 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2678, allocations: 168.3 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2679, allocations: 4.375 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.2679, allocations: 384 / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.268, allocations: 54.17 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2681, allocations: 3.938 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.2681, allocations: 0 / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2681, allocations: 3.938 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.2683, allocations: 39.95 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.2686, allocations: 249 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.2687, allocations: 42.44 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.2688, allocations: 24.89 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2688, allocations: 4 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2688, allocations: 34.56 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2689, allocations: 0 / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003353/0.2692, allocations: 77.64 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.2692, allocations: 55.41 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.2693, allocations: 97.92 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2693, allocations: 29.7 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.2694, allocations: 88.12 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.2694, allocations: 3.953 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.2694, allocations: 13.72 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2695, allocations: 314.8 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.2696, allocations: 15.98 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.2697, allocations: 23.97 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2699, allocations: 36.83 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2699, allocations: 3.938 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.2701, allocations: 65.61 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2701, allocations: 14.28 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2701, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2701, allocations: 4.094 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.2702, allocations: 11.92 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2702, allocations: 4 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.2703, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.2703, allocations: 4 kB / 1.17 GB, free: 3.559 MB / 0.92 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.797e-05/0.2704, allocations: 117.8 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.2704, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.2706, allocations: 72.78 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2707, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2707, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2707, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.2708, allocations: 161.5 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2708, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/0.2709, allocations: 11.98 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2709, allocations: 3.938 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2709, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.271, allocations: 8.016 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.271, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.2712, allocations: 163.5 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.2712, allocations: 89.19 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.2713, allocations: 3.984 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.2714, allocations: 7.984 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.2714, allocations: 4.031 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2714, allocations: 7.984 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.2714, allocations: 79.28 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2715, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002226/0.2717, allocations: 4 kB / 1.17 GB, free: 2.738 MB / 0.92 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.0005334/0.2722, allocations: 0.7007 MB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.2724, allocations: 35.95 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2724, allocations: 0 / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.2725, allocations: 19.98 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.2728, allocations: 8.156 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.2733, allocations: 135.6 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2735, allocations: 0.6768 MB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.2736, allocations: 7.938 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.2736, allocations: 11.44 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/0.2736, allocations: 0 / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.29, allocations: 1.261 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.484, allocations: 11.95 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches