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.0014/0.001406, allocations: 108 kB / 15.6 MB, free: 132 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.001826/0.001826, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.526/1.526, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.535/2.535, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 67.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.943/0.9447, allocations: 140.3 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001978/0.9467, allocations: 0.6564 MB / 0.9502 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.9475, allocations: 0.7922 MB / 0.951 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.9476, allocations: 0 / 0.951 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.9476, allocations: 0 / 0.951 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.9477, allocations: 9.297 kB / 0.951 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.9478, allocations: 9.359 kB / 0.951 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.9479, allocations: 21.55 kB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.948, allocations: 10.75 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.9481, allocations: 8.125 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.9482, allocations: 10.67 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.9482, allocations: 1.375 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.9482, allocations: 2.75 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.9482, allocations: 4 kB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.9482, allocations: 22.59 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.455e-05/0.9483, allocations: 20.03 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9483, allocations: 0 / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9483, allocations: 0 / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.9484, allocations: 4 kB / 0.9511 GB, free: 7.918 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.00043/0.9488, allocations: 339.2 kB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.9488, allocations: 9.625 kB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.9489, allocations: 2.312 kB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.719e-05/0.949, allocations: 169.6 kB / 0.9516 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.949, allocations: 384 / 0.9516 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.949, allocations: 1.75 kB / 0.9516 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.9492, allocations: 50.61 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.9492, allocations: 4.188 kB / 0.9517 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.9493, allocations: 3.938 kB / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.9493, allocations: 0 / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.9494, allocations: 35.2 kB / 0.9517 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.9497, allocations: 240.6 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.9499, allocations: 51.08 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.95, allocations: 23.62 kB / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.95, allocations: 0 / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.95, allocations: 31.88 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.95, allocations: 0 / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003566/0.9504, allocations: 87.89 kB / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.9504, allocations: 52.88 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.9505, allocations: 94.36 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.9505, allocations: 25.7 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.9505, allocations: 89.97 kB / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.9506, allocations: 8.812 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.9506, allocations: 12.41 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.9507, allocations: 319 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.9507, allocations: 13.39 kB / 0.9527 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.9508, allocations: 21.12 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.951, allocations: 35.7 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.951, allocations: 3.938 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.9512, allocations: 77.75 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.9512, allocations: 4.75 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9512, allocations: 0 / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9512, allocations: 0 / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.9513, allocations: 10.8 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9513, allocations: 0 / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.9514, allocations: 4.062 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.9514, allocations: 0 / 0.9529 GB, free: 6.113 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 5.587e-05/0.9515, allocations: 127.5 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.9515, allocations: 5.344 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.9517, allocations: 66.91 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.9517, allocations: 7.922 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9518, allocations: 1.375 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9518, allocations: 0 / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.9519, allocations: 161.9 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9519, allocations: 0 / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.952, allocations: 10.55 kB / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.952, allocations: 0 / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.952, allocations: 1.188 kB / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.952, allocations: 4 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.952, allocations: 1.281 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.9522, allocations: 166.1 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.9522, allocations: 78.45 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.9522, allocations: 5.422 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.9523, allocations: 2.406 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.9524, allocations: 2.344 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.9524, allocations: 3.984 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.9524, allocations: 82.47 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9524, allocations: 4.969 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.9526, allocations: 7.938 kB / 0.9536 GB, free: 5.363 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.0001231/0.9528, allocations: 103.4 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.953, allocations: 36.45 kB / 0.9537 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.953, allocations: 1.125 kB / 0.9537 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.9531, allocations: 18.83 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.9534, allocations: 12.5 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.9537, allocations: 109.5 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.9538, allocations: 0.6844 MB / 0.9545 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.9538, allocations: 0 / 0.9545 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.9539, allocations: 8.844 kB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.9539, allocations: 1.469 kB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.002498/0.9564, allocations: 456.7 kB / 0.955 GB, free: 4.176 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/jenkins/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