Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.0009013/0.0009013, allocations: 72.44 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.001131/0.001131, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9193/0.9193, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.707/1.707, allocations: 377.9 MB / 0.6221 GB, free: 8.648 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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.501e-05, allocations: 6.281 kB / 0.981 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001455/0.00147, allocations: 0.7818 MB / 0.9817 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.000116/0.001586, allocations: 43.77 kB / 0.9818 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.001639, allocations: 4 kB / 0.9818 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.001678, allocations: 11.88 kB / 0.9818 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 8.768e-05/0.001766, allocations: 7.875 kB / 0.9818 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 4.435e-05/0.00181, allocations: 19.98 kB / 0.9818 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.001921, allocations: 71.81 kB / 0.9819 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.002046, allocations: 23.98 kB / 0.9819 GB, free: 488 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.002135, allocations: 43.78 kB / 0.982 GB, free: 444 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.002221, allocations: 23.91 kB / 0.982 GB, free: 420 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.002242, allocations: 4 kB / 0.982 GB, free: 416 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.002249, allocations: 8 kB / 0.982 GB, free: 408 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.002266, allocations: 11.92 kB / 0.982 GB, free: 396 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.002293, allocations: 27.92 kB / 0.982 GB, free: 368 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 9.584e-05/0.002389, allocations: 71.75 kB / 0.9821 GB, free: 296 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002391, allocations: 0 / 0.9821 GB, free: 296 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.172e-06/0.002392, allocations: 0 / 0.9821 GB, free: 296 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.002396, allocations: 0 / 0.9821 GB, free: 296 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003447/0.002741, allocations: 306 kB / 0.9824 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.002781, allocations: 8.031 kB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.002813, allocations: 38.75 kB / 0.9824 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.002836, allocations: 12.84 kB / 0.9824 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.002994, allocations: 137.6 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.003005, allocations: 8.375 kB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.003017, allocations: 16.31 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.003148, allocations: 95.78 kB / 0.9827 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.003158, allocations: 4.125 kB / 0.9827 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.003168, allocations: 4.375 kB / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.003175, allocations: 8.125 kB / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.036e-05/0.003235, allocations: 31.98 kB / 0.9827 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.003671, allocations: 399.9 kB / 0.9831 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.089e-05/0.003722, allocations: 41.14 kB / 0.9832 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.003757, allocations: 21.78 kB / 0.9832 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-06/0.003764, allocations: 0 / 0.9832 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.003787, allocations: 38.5 kB / 0.9832 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.003788, allocations: 0 / 0.9832 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.003934, allocations: 45.66 kB / 0.9833 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.003976, allocations: 92.97 kB / 0.9833 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.00408, allocations: 153 kB / 0.9835 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.00409, allocations: 25.7 kB / 0.9835 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.004142, allocations: 108.1 kB / 0.9836 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.004148, allocations: 8.203 kB / 0.9836 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.004176, allocations: 25.66 kB / 0.9837 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.00425, allocations: 310.8 kB / 0.984 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.004265, allocations: 11.98 kB / 0.984 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.004284, allocations: 21.72 kB / 0.984 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.004315, allocations: 21.72 kB / 0.984 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004317, allocations: 0 / 0.984 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.445e-05/0.004371, allocations: 61.58 kB / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.004386, allocations: 8.062 kB / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.004392, allocations: 4 kB / 0.9841 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.004404, allocations: 0 / 0.9841 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.004455, allocations: 7.938 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00446, allocations: 4 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.004476, allocations: 3.938 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.004481, allocations: 7.938 kB / 0.9841 GB, free: 14.01 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.687e-05/0.004538, allocations: 116.2 kB / 0.9842 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.004558, allocations: 7.953 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.004577, allocations: 7.797 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.004581, allocations: 4 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.004586, allocations: 11.88 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.004589, allocations: 0 / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.004887, allocations: 437.9 kB / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004888, allocations: 0 / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.004899, allocations: 11.88 kB / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.0049, allocations: 0 / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.004905, allocations: 0 / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.004907, allocations: 7.984 kB / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004908, allocations: 0 / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.143e-05/0.004959, allocations: 77.95 kB / 0.9847 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.004978, allocations: 15.88 kB / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.004988, allocations: 0 / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.004999, allocations: 8 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.005009, allocations: 0 / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.005011, allocations: 4 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.005064, allocations: 121.3 kB / 0.9849 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.005064, allocations: 0 / 0.9849 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001261/0.00519, allocations: 8 kB / 0.9849 GB, free: 13.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002141/0.005404, allocations: 0.6133 MB / 0.9855 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.313e-05/0.005468, allocations: 15.94 kB / 0.9855 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.00547, allocations: 4 kB / 0.9855 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.972e-06/0.005476, allocations: 4 kB / 0.9855 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.005589, allocations: 14.17 kB / 0.9855 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.006417, allocations: 1.339 MB / 0.9868 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.00646, allocations: 79.7 kB / 0.9869 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.006486, allocations: 12.47 kB / 0.9869 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.006523, allocations: 24.5 kB / 0.987 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of SimCode: time 3.91e-07/0.006524, allocations: 0 / 0.987 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.02004, allocations: 2.227 MB / 0.9891 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.518/6.538, allocations: 4.562 kB / 0.9891 GB, free: 8.762 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.586684877052903]