Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 109 kB / 16.41 MB, free: 6.492 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.001434/0.001434, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.286/1.286, 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 11.0.1-master/package.mo): time 2.447/2.447, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.91 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.7543, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.00178/0.7561, allocations: 0.6595 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.757, allocations: 0.7883 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.7571, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.7571, allocations: 3.938 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.7572, allocations: 8 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.7573, allocations: 15.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.7574, allocations: 19.98 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.7575, allocations: 7.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.7576, allocations: 11.94 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.7577, allocations: 15.92 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7577, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.7577, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.7577, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.7578, allocations: 11.94 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.255e-05/0.7578, allocations: 31.88 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7579, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7579, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.7579, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 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.0005459/0.7584, allocations: 339.3 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.7585, allocations: 8.031 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.7585, allocations: 8.938 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.7587, allocations: 160.4 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.7587, allocations: 4.375 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.7587, allocations: 4.375 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.7589, allocations: 50.23 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7589, allocations: 192 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.7589, allocations: 3.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.7589, allocations: 3.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.7591, allocations: 31.95 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.7594, allocations: 245 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.7595, allocations: 42.5 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.7596, allocations: 24.89 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.7597, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.7597, allocations: 38.5 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7597, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003447/0.76, allocations: 85.55 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.7601, allocations: 55.41 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.7602, allocations: 105.8 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.7602, allocations: 25.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.7602, allocations: 88.25 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.7603, allocations: 7.844 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.7603, allocations: 17.72 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.7604, allocations: 310.8 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.7605, allocations: 11.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.7606, allocations: 23.97 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.7607, allocations: 40.83 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7607, allocations: 4 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/0.7609, allocations: 65.59 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.7609, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7609, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.761, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.7611, allocations: 7.984 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7611, allocations: 4.031 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.7611, allocations: 4 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.7611, allocations: 0 / 1.212 GB, free: 9.992 MB / 0.9356 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 6.859e-05/0.7612, allocations: 117.8 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.7612, allocations: 3.984 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.7615, allocations: 76.66 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7615, allocations: 4.031 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7615, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.7615, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.7616, allocations: 161.6 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7617, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.7617, allocations: 11.98 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.7617, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.7617, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.7617, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7617, allocations: 4 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.762, allocations: 171.3 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.762, allocations: 78.94 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.762, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.7621, allocations: 11.98 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.7622, allocations: 4 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.7622, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.7622, allocations: 87.3 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.156e-06/0.7622, allocations: 0 / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002096/0.7625, allocations: 7.938 kB / 1.212 GB, free: 9.168 MB / 0.9356 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.0001151/0.7626, allocations: 95.25 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.7628, allocations: 39.95 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7628, allocations: 8.062 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.7629, allocations: 15.92 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.7632, allocations: 7.938 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.7635, allocations: 139.7 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.7637, allocations: 0.6768 MB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.7637, allocations: 7.438 kB / 1.213 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.7637, allocations: 0 / 1.213 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of Templates: time 0.001655/0.7654, allocations: 0.5355 MB / 1.214 GB, free: 7.574 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches