Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007864/0.0007864, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000931/0.000931, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9139/0.9139, allocations: 177.1 MB / 202.8 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.521e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001944/0.00197, allocations: 0.6678 MB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002997, allocations: 0.8121 MB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.003036, allocations: 0 / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.003066, allocations: 0 / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.00313, allocations: 3.938 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.003341, allocations: 15.98 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.003428, allocations: 23.94 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.003541, allocations: 11.91 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.003633, allocations: 8 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.00368, allocations: 11.98 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.003703, allocations: 4 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/0.003756, allocations: 4 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.00377, allocations: 0 / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.003792, allocations: 11.92 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003918, allocations: 31.89 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.003921, allocations: 0 / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.573e-06/0.003923, allocations: 4 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.279e-06/0.003927, allocations: 3.938 kB / 0.9521 GB, free: 1.789 MB / 0.9011 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.0004048/0.004332, allocations: 262.3 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.004377, allocations: 8.031 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.004411, allocations: 30.75 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.004491, allocations: 12.88 kB / 0.9524 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.004592, allocations: 109.7 kB / 0.9525 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004604, allocations: 4.312 kB / 0.9525 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.004612, allocations: 384 / 0.9525 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.00478, allocations: 58.22 kB / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004788, allocations: 192 / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.004798, allocations: 384 / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004804, allocations: 4.125 kB / 0.9526 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.004921, allocations: 31.97 kB / 0.9526 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.005254, allocations: 216 kB / 0.9528 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.005362, allocations: 34.56 kB / 0.9529 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.005422, allocations: 28.89 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.005445, allocations: 4 kB / 0.9529 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.005471, allocations: 34.5 kB / 0.9529 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.005472, allocations: 0 / 0.9529 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002888/0.005761, allocations: 85.52 kB / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.005796, allocations: 51.41 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.005865, allocations: 97.86 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.005878, allocations: 33.83 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.005919, allocations: 84.14 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.005937, allocations: 7.938 kB / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.005979, allocations: 13.72 kB / 0.9533 GB, free: 432 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.006078, allocations: 310.8 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.006181, allocations: 15.98 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.006225, allocations: 15.98 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.647e-05/0.006312, allocations: 44.88 kB / 0.9537 GB, free: 32 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006314, allocations: 4 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001318/0.006446, allocations: 73.48 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.006462, allocations: 8 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006467, allocations: 0 / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.00648, allocations: 0 / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.00655, allocations: 4 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.006559, allocations: 8.016 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.006584, allocations: 8 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.00659, allocations: 4 kB / 0.9538 GB, free: 15.92 MB / 0.9167 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.854e-05/0.006649, allocations: 105.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.006662, allocations: 3.938 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.006807, allocations: 80.89 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00681, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.006814, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006817, allocations: 4.031 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.006926, allocations: 124.8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.006927, allocations: 0 / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.006954, allocations: 8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.006958, allocations: 7.875 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.006965, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.006968, allocations: 3.984 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.006969, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.007111, allocations: 163.5 kB / 0.9542 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.007121, allocations: 11.88 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.007132, allocations: 0 / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.007168, allocations: 7.938 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.007205, allocations: 7.922 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.007209, allocations: 4 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.007236, allocations: 79.45 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007236, allocations: 0 / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001508/0.007387, allocations: 8 kB / 0.9544 GB, free: 15.23 MB / 0.9167 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.0003401/0.007727, allocations: 0.689 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.007858, allocations: 43.89 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.00786, allocations: 0 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.365e-05/0.007924, allocations: 15.98 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.008185, allocations: 6.5 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.008545, allocations: 142.5 kB / 0.9552 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.008593, allocations: 59.36 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.008614, allocations: 0 / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.008653, allocations: 12.48 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of SimCode: time 8.92e-07/0.008653, allocations: 0 / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.02784, allocations: 1.952 MB / 0.9572 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/6.605, allocations: 6.688 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable arcSin.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv. Warning: Get data of variable arcSin.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.693332227878273]