Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001044/0.001044, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009488/0.0009488, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.9072/0.9072, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.737/1.737, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.687e-05, allocations: 4.953 kB / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001959/0.001986, allocations: 0.6677 MB / 0.9817 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003009, allocations: 0.8121 MB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.00305, allocations: 0 / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.003082, allocations: 0 / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.003151, allocations: 11.86 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.003349, allocations: 11.94 kB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.625e-05/0.003425, allocations: 23.92 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003529, allocations: 4 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.748e-05/0.003606, allocations: 15.97 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.003647, allocations: 15.92 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003664, allocations: 4 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.369e-05/0.003718, allocations: 4 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.003732, allocations: 4 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.003753, allocations: 4 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003875, allocations: 35.88 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003878, allocations: 0 / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.162e-06/0.00388, allocations: 0 / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.003885, allocations: 0 / 0.9826 GB, free: 0.8906 MB / 0.9323 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.0004174/0.004302, allocations: 266.3 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.004348, allocations: 8.031 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.004381, allocations: 34.75 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.453e-05/0.004465, allocations: 8.891 kB / 0.9829 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.004564, allocations: 113.8 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004576, allocations: 4.375 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.004585, allocations: 384 / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.004736, allocations: 46.25 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004744, allocations: 192 / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004754, allocations: 4.359 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004761, allocations: 4.125 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.00488, allocations: 39.91 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.005194, allocations: 212.1 kB / 0.9833 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.005297, allocations: 34.56 kB / 0.9834 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.005375, allocations: 20.95 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.005395, allocations: 4 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.005421, allocations: 34.5 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.005422, allocations: 3.938 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002873/0.005709, allocations: 85.53 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.005747, allocations: 55.41 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.005822, allocations: 97.84 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.005836, allocations: 25.7 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.005883, allocations: 92.09 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.005905, allocations: 3.953 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.005941, allocations: 13.72 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.00605, allocations: 318.8 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.006109, allocations: 16.11 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.751e-05/0.006157, allocations: 15.98 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.006266, allocations: 44.75 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006268, allocations: 0 / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001456/0.006414, allocations: 69.67 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.00643, allocations: 4 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.006439, allocations: 4 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.006455, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.006541, allocations: 7.984 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.006547, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.00658, allocations: 11.92 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006586, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 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.98e-05/0.006656, allocations: 109.8 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.006677, allocations: 3.969 kB / 0.9843 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.006853, allocations: 80.91 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.006856, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.006862, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.006866, allocations: 3.984 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.007011, allocations: 120.8 kB / 0.9845 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007013, allocations: 0 / 0.9845 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.007055, allocations: 11.98 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.007058, allocations: 3.938 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.007065, allocations: 4.031 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.007067, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007068, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.007255, allocations: 163.7 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.007266, allocations: 15.86 kB / 0.9847 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.007279, allocations: 7.938 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.007341, allocations: 7.984 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.007382, allocations: 0 / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.007386, allocations: 4.031 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.007432, allocations: 83.27 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007432, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003087/0.007741, allocations: 11.94 kB / 0.9848 GB, free: 14.33 MB / 0.948 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.0004589/0.0082, allocations: 0.6851 MB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.008362, allocations: 43.92 kB / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.008364, allocations: 4 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.00842, allocations: 15.98 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.008739, allocations: 4 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.009231, allocations: 134.5 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.009288, allocations: 63.34 kB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.009312, allocations: 128 / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.009353, allocations: 12.5 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.009354, allocations: 0 / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.02545, allocations: 1.959 MB / 0.9877 GB, free: 11.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.697, allocations: 5.234 kB / 0.9877 GB, free: 11.46 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv. Warning: Get data of variable arcSin.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.881020481698215]