Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.00171/0.00171, allocations: 193 kB / 16.91 MB, free: 6.184 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.263/2.263, allocations: 390.3 MB / 0.665 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.62 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2621, allocations: 140.4 MB / 0.9498 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.002111/0.2643, allocations: 0.7183 MB / 0.9505 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.2653, allocations: 0.7982 MB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.2653, allocations: 4 kB / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.2654, allocations: 0 / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.2654, allocations: 0 / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.2656, allocations: 11.92 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.2657, allocations: 24 kB / 0.9513 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2658, allocations: 3.984 kB / 0.9513 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.997e-05/0.2658, allocations: 8 kB / 0.9513 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.2659, allocations: 15.92 kB / 0.9513 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2659, allocations: 0 / 0.9513 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.2659, allocations: 4 kB / 0.9513 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.2659, allocations: 3.984 kB / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.266, allocations: 11.94 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.199e-05/0.266, allocations: 11.97 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.266, allocations: 7.938 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2661, allocations: 4 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2661, allocations: 0 / 0.9514 GB, free: 7.539 MB / 0.7325 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.0004488/0.2665, allocations: 335.7 kB / 0.9517 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2666, allocations: 8.031 kB / 0.9517 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.2666, allocations: 4.938 kB / 0.9517 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2667, allocations: 176.2 kB / 0.9519 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.2668, allocations: 384 / 0.9519 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.2668, allocations: 4.375 kB / 0.9519 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.267, allocations: 50.23 kB / 0.9519 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.267, allocations: 4.172 kB / 0.9519 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.267, allocations: 7.938 kB / 0.9519 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.267, allocations: 0 / 0.9519 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2672, allocations: 31.91 kB / 0.952 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.2675, allocations: 248.9 kB / 0.9522 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.2677, allocations: 46.56 kB / 0.9523 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.2678, allocations: 16.84 kB / 0.9523 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2678, allocations: 0 / 0.9523 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.2678, allocations: 34.56 kB / 0.9523 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2678, allocations: 0 / 0.9523 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003526/0.2682, allocations: 85.58 kB / 0.9524 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.2682, allocations: 51.41 kB / 0.9524 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.2683, allocations: 105.8 kB / 0.9525 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2684, allocations: 25.7 kB / 0.9526 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.2684, allocations: 80.14 kB / 0.9526 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2684, allocations: 7.906 kB / 0.9526 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.2685, allocations: 17.84 kB / 0.9527 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2686, allocations: 314.8 kB / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.2687, allocations: 15.98 kB / 0.953 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.2688, allocations: 15.98 kB / 0.953 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2689, allocations: 40.88 kB / 0.953 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2689, allocations: 0 / 0.953 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.2691, allocations: 73.55 kB / 0.9531 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2691, allocations: 4 kB / 0.9531 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2692, allocations: 0 / 0.9531 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2692, allocations: 4 kB / 0.9531 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.2693, allocations: 7.984 kB / 0.9531 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2693, allocations: 4 kB / 0.9531 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.2693, allocations: 12.02 kB / 0.9531 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.2694, allocations: 3.984 kB / 0.9531 GB, free: 5.512 MB / 0.7325 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.288e-05/0.2694, allocations: 113.8 kB / 0.9532 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.2695, allocations: 3.906 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.2697, allocations: 76.72 kB / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2697, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2697, allocations: 32 / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.2697, allocations: 7.938 kB / 0.9533 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2699, allocations: 161.6 kB / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2699, allocations: 0 / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.27, allocations: 11.98 kB / 0.9535 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.27, allocations: 3.938 kB / 0.9535 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.27, allocations: 0 / 0.9535 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.27, allocations: 0 / 0.9535 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.27, allocations: 0 / 0.9535 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.2702, allocations: 167.5 kB / 0.9537 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.2703, allocations: 81.05 kB / 0.9537 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2703, allocations: 0 / 0.9537 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.2704, allocations: 7.984 kB / 0.9537 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.2704, allocations: 4 kB / 0.9537 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2704, allocations: 0 / 0.9537 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.2705, allocations: 83.47 kB / 0.9538 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2705, allocations: 4.031 kB / 0.9538 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002125/0.2707, allocations: 4 kB / 0.9538 GB, free: 4.695 MB / 0.7325 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.0001633/0.2709, allocations: 101.9 kB / 0.9539 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.2711, allocations: 35.97 kB / 0.954 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2711, allocations: 0 / 0.954 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.2712, allocations: 20.05 kB / 0.954 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.2715, allocations: 19.8 kB / 0.954 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.2718, allocations: 135.2 kB / 0.9541 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2721, allocations: 0.6766 MB / 0.9548 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.2721, allocations: 7.438 kB / 0.9548 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.2721, allocations: 0 / 0.9548 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of Templates: time 0.001994/0.2741, allocations: 0.5574 MB / 0.9553 GB, free: 3.094 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches