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.001526/0.001526, allocations: 105.7 kB / 16.41 MB, free: 6.461 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.001848/0.001848, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.07 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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.88 kB / 0.9516 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8097, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001867/0.8116, allocations: 0.6613 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009396/0.8126, allocations: 0.7897 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.8126, allocations: 1.281 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.8127, allocations: 4.5 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.8127, allocations: 0.9688 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.8129, allocations: 12 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.813, allocations: 29.11 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.8131, allocations: 4.516 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.8132, allocations: 12.36 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.8133, allocations: 18.25 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.8133, allocations: 2.094 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.8133, allocations: 1.219 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.8133, allocations: 2.578 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.8134, allocations: 10.91 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.491e-05/0.8134, allocations: 16.69 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8135, allocations: 5.188 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8135, allocations: 3.938 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8135, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 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.0004193/0.8139, allocations: 332.1 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.8139, allocations: 10.2 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.814, allocations: 5.906 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.747e-05/0.8141, allocations: 167.6 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.8141, allocations: 384 / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.8141, allocations: 11.11 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.8143, allocations: 48.22 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.8143, allocations: 1.25 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.8143, allocations: 7.938 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.8143, allocations: 5.094 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.8145, allocations: 32.64 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.8148, allocations: 250.1 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.8149, allocations: 44 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.815, allocations: 19.59 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.8151, allocations: 1.781 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.8151, allocations: 36.08 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8151, allocations: 0 / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003853/0.8155, allocations: 82.95 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.8155, allocations: 57.03 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.8156, allocations: 101.5 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.8156, allocations: 25.7 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.8156, allocations: 85.81 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.8156, allocations: 9.859 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.8157, allocations: 16.7 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.8157, allocations: 312.8 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.8158, allocations: 18.5 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/0.8159, allocations: 14.38 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.8161, allocations: 45.06 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8161, allocations: 0 / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.8163, allocations: 71.06 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.8163, allocations: 5.531 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8163, allocations: 0.6562 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8163, allocations: 0.6875 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.8165, allocations: 13.34 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.8165, allocations: 3.938 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.8165, allocations: 10.06 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.8166, allocations: 1.516 kB / 1.092 GB, free: 2.699 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 5.212e-05/0.8166, allocations: 111.5 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.8166, allocations: 2.266 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.8169, allocations: 74.72 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8169, allocations: 1.188 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8169, allocations: 4.031 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.8169, allocations: 2.109 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.817, allocations: 158.5 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.817, allocations: 0.9062 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.8171, allocations: 8.906 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8171, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.8171, allocations: 1.156 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8171, allocations: 0.6094 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8172, allocations: 0.9062 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.8174, allocations: 170 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.8175, allocations: 82.94 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.8175, allocations: 5.5 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.8176, allocations: 9.281 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.8176, allocations: 3.234 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.8176, allocations: 0.5625 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.8177, allocations: 83.88 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8177, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002123/0.8179, allocations: 7.781 kB / 1.093 GB, free: 2 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.0001361/0.818, allocations: 102.1 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.8183, allocations: 34.86 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8183, allocations: 0 / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.8184, allocations: 25.27 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.8187, allocations: 10.69 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.819, allocations: 125.5 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.8191, allocations: 0.6763 MB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.8191, allocations: 8.594 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.8191, allocations: 0 / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.00222/0.8213, allocations: 0.5383 MB / 1.094 GB, free: 1.031 MB / 0.8575 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