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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001515/0.001515, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 196 kB / 16.79 MB, free: 6.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.2 MB / 0.6649 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6574, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001781/0.6592, allocations: 0.7257 MB / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000722/0.6599, allocations: 0.7875 MB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.66, allocations: 0 / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.66, allocations: 9.312 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.6601, allocations: 0 / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.6603, allocations: 9.344 kB / 0.9511 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.6603, allocations: 21.56 kB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.6604, allocations: 6.734 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.6605, allocations: 8.125 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.6606, allocations: 10.67 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.6606, allocations: 1.375 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.6606, allocations: 1.375 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.6606, allocations: 8 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.6607, allocations: 6.688 kB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.491e-05/0.6607, allocations: 14.72 kB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6607, allocations: 1.375 kB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6607, allocations: 0 / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.557e-06/0.6608, allocations: 0 / 0.9512 GB, free: 7.941 MB / 0.7169 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.0004102/0.6612, allocations: 339.2 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6612, allocations: 8.25 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.6613, allocations: 2.312 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.6613, allocations: 185.6 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.6614, allocations: 1.75 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.6614, allocations: 1.75 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.6615, allocations: 49.23 kB / 0.9517 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6616, allocations: 192 / 0.9517 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.6616, allocations: 5.312 kB / 0.9517 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.6616, allocations: 3.938 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.6618, allocations: 33.84 kB / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.662, allocations: 249.2 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.6622, allocations: 38.81 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.6623, allocations: 23.84 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.6623, allocations: 4 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.6623, allocations: 31.94 kB / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6623, allocations: 0 / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.6627, allocations: 83.83 kB / 0.9522 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.6627, allocations: 56.72 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.6628, allocations: 103.3 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.6628, allocations: 29.83 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.6628, allocations: 81.52 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.6628, allocations: 7.844 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.6628, allocations: 16.47 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.6629, allocations: 316.2 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.663, allocations: 12.23 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.6631, allocations: 21.61 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.6632, allocations: 40.06 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6632, allocations: 0 / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.6634, allocations: 68.73 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6634, allocations: 4.375 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6634, allocations: 1.344 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6635, allocations: 4.094 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.6635, allocations: 10.8 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6636, allocations: 4 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.6636, allocations: 7.672 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.6636, allocations: 4 kB / 0.9529 GB, free: 6.109 MB / 0.7169 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 4.752e-05/0.6637, allocations: 112.4 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.6637, allocations: 5.375 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.6639, allocations: 73.84 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.6639, allocations: 0 / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6639, allocations: 5.594 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.6639, allocations: 0 / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.6641, allocations: 161.5 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6641, allocations: 0 / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.6641, allocations: 14.36 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6641, allocations: 0 / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.6642, allocations: 1.562 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6642, allocations: 4.031 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6642, allocations: 0 / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.6644, allocations: 159.5 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.6644, allocations: 78.08 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.6644, allocations: 5.25 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.6645, allocations: 10.86 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.6645, allocations: 5.891 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6645, allocations: 0.9375 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.071e-05/0.6646, allocations: 78.09 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.02e-07/0.6646, allocations: 0 / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002188/0.6648, allocations: 8.406 kB / 0.9536 GB, free: 5.375 MB / 0.7169 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.0001171/0.6649, allocations: 101.1 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.6651, allocations: 45.5 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6651, allocations: 0 / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.6652, allocations: 15.45 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.6655, allocations: 10.2 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.6658, allocations: 133.2 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.6659, allocations: 0.6772 MB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.6659, allocations: 12.94 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6659, allocations: 3.938 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.001753/0.6677, allocations: 0.5382 MB / 0.9551 GB, free: 4.121 MB / 0.7169 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