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.001398/0.001398, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001366/0.001366, allocations: 187 kB / 17.34 MB, free: 5.734 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.15 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.266/2.266, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8363/0.8377, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001939/0.8396, allocations: 0.6615 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008379/0.8405, allocations: 0.7831 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.8406, allocations: 4 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.8406, allocations: 3.938 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.8407, allocations: 1.672 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.8408, allocations: 12.88 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.8409, allocations: 28.19 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.841, allocations: 3.781 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.8411, allocations: 9.359 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.8412, allocations: 8.891 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.8412, allocations: 2.344 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.8412, allocations: 6.312 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.8412, allocations: 6.688 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.8412, allocations: 10.31 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.73e-05/0.8413, allocations: 27.62 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8413, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8414, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.8414, allocations: 5.062 kB / 1.09 GB, free: 4.43 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.000376/0.8418, allocations: 332.5 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.8418, allocations: 9.641 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.8418, allocations: 9.875 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.1e-05/0.8419, allocations: 167.5 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.8419, allocations: 2.234 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.842, allocations: 1.625 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.8421, allocations: 48.69 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.8421, allocations: 192 / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.8422, allocations: 3.938 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.8422, allocations: 1.438 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.8423, allocations: 41.42 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.8427, allocations: 241.4 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.8428, allocations: 39.94 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.8429, allocations: 23.84 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.8429, allocations: 5.188 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.8429, allocations: 32.31 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8429, allocations: 0 / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003519/0.8433, allocations: 84.02 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.8433, allocations: 56.59 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/0.8434, allocations: 97.41 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.8434, allocations: 33.64 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.8434, allocations: 89.97 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.8435, allocations: 2.047 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.8435, allocations: 11.8 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.8436, allocations: 317 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.8436, allocations: 14.47 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.8437, allocations: 22.23 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.8439, allocations: 40.89 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8439, allocations: 4 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.8441, allocations: 71.89 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8441, allocations: 5.219 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.8441, allocations: 0 / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.8441, allocations: 9.562 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.8442, allocations: 9.234 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.8443, allocations: 3.984 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.8443, allocations: 10.09 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.8443, allocations: 1.125 kB / 1.092 GB, free: 2.711 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.306e-05/0.8444, allocations: 115.4 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.8444, allocations: 3.156 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.8447, allocations: 73.86 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8447, allocations: 1.328 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8447, allocations: 0 / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8447, allocations: 1.219 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.8448, allocations: 159.1 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.8448, allocations: 0.7188 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.8449, allocations: 8.906 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8449, allocations: 0.875 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.8449, allocations: 0.9844 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8449, allocations: 4.875 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8449, allocations: 0 / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.8452, allocations: 167.1 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.8452, allocations: 82.22 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.8452, allocations: 1.484 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.8453, allocations: 9.719 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.8453, allocations: 3.172 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.8453, allocations: 4.812 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.755e-05/0.8454, allocations: 79.98 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8454, allocations: 0 / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002126/0.8456, allocations: 4.188 kB / 1.093 GB, free: 2.02 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.000135/0.8457, allocations: 100.6 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.846, allocations: 39.61 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.846, allocations: 1.031 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.8461, allocations: 27.75 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.8464, allocations: 8.078 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.8467, allocations: 126.1 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.8468, allocations: 0.6802 MB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.8469, allocations: 9.688 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8469, allocations: 0 / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.00218/0.8491, allocations: 0.5432 MB / 1.094 GB, free: 1.039 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