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.001765/0.001765, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002208/0.002208, allocations: 191 kB / 16.25 MB, free: 6.637 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.508/1.508, allocations: 222.9 MB / 239.9 MB, free: 4.457 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.626/2.626, allocations: 390.2 MB / 0.6644 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.91 kB / 0.8121 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8874/0.8895, allocations: 140.4 MB / 0.9491 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.002662/0.8922, allocations: 0.7323 MB / 0.9498 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.8934, allocations: 0.7872 MB / 0.9506 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.8934, allocations: 1.375 kB / 0.9506 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.8935, allocations: 0 / 0.9506 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.8936, allocations: 3.938 kB / 0.9506 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.8938, allocations: 10.73 kB / 0.9506 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.054e-05/0.8939, allocations: 21.56 kB / 0.9506 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.894, allocations: 10.73 kB / 0.9506 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.8941, allocations: 10.73 kB / 0.9507 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.8941, allocations: 14.67 kB / 0.9507 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.8941, allocations: 2.75 kB / 0.9507 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.8942, allocations: 1.375 kB / 0.9507 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.8942, allocations: 1.375 kB / 0.9507 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.8942, allocations: 9.312 kB / 0.9507 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.8943, allocations: 24.02 kB / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8943, allocations: 1.375 kB / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8943, allocations: 0 / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.8943, allocations: 0 / 0.9507 GB, free: 8.141 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.0004347/0.8948, allocations: 343.2 kB / 0.951 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.8948, allocations: 9.625 kB / 0.951 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.8949, allocations: 2.312 kB / 0.951 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.503e-05/0.895, allocations: 165.7 kB / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.895, allocations: 384 / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.895, allocations: 1.75 kB / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.8952, allocations: 53.17 kB / 0.9513 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8952, allocations: 5.562 kB / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.8952, allocations: 3.938 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8952, allocations: 0 / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.8954, allocations: 39.19 kB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.8958, allocations: 245.2 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.8959, allocations: 46.81 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.896, allocations: 22.45 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.896, allocations: 3.984 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.896, allocations: 31.94 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.896, allocations: 0 / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003384/0.8964, allocations: 89.2 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.8964, allocations: 51.41 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.8965, allocations: 99.36 kB / 0.9519 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.8965, allocations: 25.7 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.8965, allocations: 89.44 kB / 0.952 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.8966, allocations: 9.219 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.8966, allocations: 15.09 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.8967, allocations: 316.3 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.8968, allocations: 16.86 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.8969, allocations: 17.12 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.897, allocations: 36.05 kB / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8971, allocations: 0 / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.8973, allocations: 77.16 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.8973, allocations: 4.719 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8973, allocations: 0 / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8973, allocations: 1.188 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.8974, allocations: 13.33 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8975, allocations: 1.469 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.8975, allocations: 6.812 kB / 0.9525 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.8975, allocations: 1.406 kB / 0.9525 GB, free: 6.316 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 7.023e-05/0.8976, allocations: 115.1 kB / 0.9526 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.8976, allocations: 9.422 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.8979, allocations: 70.31 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8979, allocations: 0 / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8979, allocations: 1.406 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.8979, allocations: 0 / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.898, allocations: 157.4 kB / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8981, allocations: 5.281 kB / 0.9528 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.8981, allocations: 9.672 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8981, allocations: 0 / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.8981, allocations: 1.156 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8981, allocations: 7.938 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8981, allocations: 1.25 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.8984, allocations: 167.3 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.8984, allocations: 77.11 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.8984, allocations: 1.344 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.8985, allocations: 7.391 kB / 0.9531 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.8986, allocations: 0.875 kB / 0.9531 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.8986, allocations: 1.312 kB / 0.9531 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.8986, allocations: 81.95 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8986, allocations: 0 / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002171/0.8989, allocations: 7.688 kB / 0.9532 GB, free: 5.582 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.0001727/0.899, allocations: 106.2 kB / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.8993, allocations: 41.52 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8993, allocations: 0 / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.8994, allocations: 15.2 kB / 0.9533 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.8997, allocations: 14.84 kB / 0.9533 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.9, allocations: 104.7 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.9002, allocations: 0.685 MB / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.9002, allocations: 0 / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.9002, allocations: 8.688 kB / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9002, allocations: 0 / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.002472/0.9027, allocations: 393 kB / 0.9545 GB, free: 4.426 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