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.00122/0.001219, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01061/0.01061, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.679/2.679, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 15.98 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9338/0.9341, allocations: 142.4 MB / 0.9551 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.0009699/0.9352, allocations: 397.4 kB / 0.9554 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000863/0.9361, allocations: 0.7868 MB / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.9361, allocations: 0 / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.9361, allocations: 5.156 kB / 0.9562 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.9362, allocations: 0 / 0.9562 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.9364, allocations: 11.02 kB / 0.9562 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.518e-05/0.9365, allocations: 28.17 kB / 0.9562 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.9366, allocations: 10.33 kB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.9367, allocations: 7.469 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.9367, allocations: 11.27 kB / 0.9563 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.9367, allocations: 0.875 kB / 0.9563 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.9368, allocations: 1.031 kB / 0.9563 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.9368, allocations: 1.219 kB / 0.9563 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.9368, allocations: 34.77 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.222e-05/0.9369, allocations: 27.75 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.9369, allocations: 1.062 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/0.9369, allocations: 0 / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.9369, allocations: 4 kB / 0.9563 GB, free: 6.664 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.0004314/0.9374, allocations: 333.2 kB / 0.9567 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.9374, allocations: 9.625 kB / 0.9567 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.9375, allocations: 5.891 kB / 0.9567 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.9376, allocations: 166.2 kB / 0.9568 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.9376, allocations: 1.656 kB / 0.9568 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.9376, allocations: 5.656 kB / 0.9568 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.9378, allocations: 54.02 kB / 0.9569 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.9378, allocations: 192 / 0.9569 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.9379, allocations: 4.938 kB / 0.9569 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9379, allocations: 0 / 0.9569 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.9381, allocations: 48.34 kB / 0.9569 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.9384, allocations: 253.2 kB / 0.9572 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.9385, allocations: 48.5 kB / 0.9572 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.9386, allocations: 26.62 kB / 0.9573 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.9387, allocations: 5.016 kB / 0.9573 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.9387, allocations: 31.62 kB / 0.9573 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.9387, allocations: 0 / 0.9573 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004016/0.9391, allocations: 99.03 kB / 0.9574 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.9392, allocations: 56.45 kB / 0.9574 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.9392, allocations: 98.3 kB / 0.9575 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-06/0.9392, allocations: 29.83 kB / 0.9576 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.9393, allocations: 81.23 kB / 0.9576 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.9393, allocations: 9.312 kB / 0.9577 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.9393, allocations: 18.89 kB / 0.9577 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.9394, allocations: 310.8 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.9395, allocations: 18.36 kB / 0.958 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.9396, allocations: 26.33 kB / 0.958 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.9398, allocations: 49.53 kB / 0.9581 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9398, allocations: 8 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002197/0.94, allocations: 78.52 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.94, allocations: 9.625 kB / 0.9581 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.94, allocations: 0 / 0.9581 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9401, allocations: 3.984 kB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.9402, allocations: 12.38 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.9402, allocations: 1.031 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.9402, allocations: 9.641 kB / 0.9582 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.9403, allocations: 1.25 kB / 0.9582 GB, free: 4.844 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 6.474e-05/0.9403, allocations: 114.8 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.9404, allocations: 1.031 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.9406, allocations: 80.84 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9406, allocations: 0 / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.9406, allocations: 9.172 kB / 0.9584 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9406, allocations: 0 / 0.9584 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.9408, allocations: 165.7 kB / 0.9585 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9408, allocations: 1.031 kB / 0.9585 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.9408, allocations: 15.92 kB / 0.9585 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9408, allocations: 1 kB / 0.9585 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.9409, allocations: 0 / 0.9585 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9409, allocations: 0.9688 kB / 0.9585 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9409, allocations: 3.984 kB / 0.9585 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.9411, allocations: 173.6 kB / 0.9587 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.9411, allocations: 77.11 kB / 0.9588 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.9412, allocations: 1.219 kB / 0.9588 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.9412, allocations: 14.55 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.9413, allocations: 0.875 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.9413, allocations: 5.438 kB / 0.9588 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.9414, allocations: 81.52 kB / 0.9589 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.784e-06/0.9414, allocations: 0 / 0.9589 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.9416, allocations: 8.25 kB / 0.9589 GB, free: 4.102 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.0001512/0.9417, allocations: 97.91 kB / 0.959 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.942, allocations: 46.03 kB / 0.959 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.942, allocations: 1.312 kB / 0.959 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/0.9421, allocations: 27.41 kB / 0.9591 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.9424, allocations: 7.688 kB / 0.9591 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.9427, allocations: 106.5 kB / 0.9592 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.9428, allocations: 0.6768 MB / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.9429, allocations: 5.844 kB / 0.9598 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.9429, allocations: 9.438 kB / 0.9598 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.9429, allocations: 0 / 0.9598 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.002637/0.9455, allocations: 374.2 kB / 0.9602 GB, free: 2.957 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