Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.001059/0.001059, 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.001371/0.001371, allocations: 169.9 kB / 22.46 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.9084/0.9084, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.694/1.694, allocations: 359 MB / 0.6037 GB, free: 11.09 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.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.982e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001492/0.001512, allocations: 0.795 MB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.703e-05/0.001609, allocations: 43.78 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.001654, allocations: 0 / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.001693, allocations: 11.86 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.001763, allocations: 11.88 kB / 0.9514 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.553e-05/0.001798, allocations: 15.98 kB / 0.9514 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.001889, allocations: 67.77 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.002, allocations: 27.97 kB / 0.9515 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.002058, allocations: 31.92 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.002108, allocations: 23.89 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.002131, allocations: 4 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.002138, allocations: 12 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.002154, allocations: 11.94 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.002179, allocations: 23.91 kB / 0.9516 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.002278, allocations: 75.69 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.00228, allocations: 0 / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002281, allocations: 3.938 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.002284, allocations: 0 / 0.9516 GB, free: 2.34 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003192/0.002603, allocations: 306 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.002639, allocations: 8.031 kB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.002672, allocations: 46.67 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.002694, allocations: 16.84 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.002835, allocations: 137.5 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.002846, allocations: 8.375 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.002855, allocations: 4.375 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.002968, allocations: 91.89 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.002976, allocations: 192 / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.002986, allocations: 4.375 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.002991, allocations: 4.125 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.003047, allocations: 35.98 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.003479, allocations: 395.8 kB / 0.9526 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.003525, allocations: 41.22 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.003554, allocations: 17.78 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.003562, allocations: 3.984 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.00358, allocations: 38.59 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.003581, allocations: 0 / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.003716, allocations: 49.59 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.003754, allocations: 85.05 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.003858, allocations: 157 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.003867, allocations: 33.95 kB / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.003919, allocations: 104 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.054e-06/0.003926, allocations: 7.938 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.00395, allocations: 17.67 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.004026, allocations: 322.8 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.004038, allocations: 4 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.703e-05/0.004055, allocations: 21.7 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.004093, allocations: 29.66 kB / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004095, allocations: 0 / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.836e-05/0.004153, allocations: 57.75 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.004165, allocations: 4 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.00417, allocations: 0 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.004182, allocations: 7.969 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.004233, allocations: 23.81 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.004237, allocations: 0 / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.004253, allocations: 0 / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.004258, allocations: 8 kB / 0.9536 GB, free: 60 kB / 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 6.189e-05/0.00432, allocations: 113.8 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.004343, allocations: 15.97 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.004359, allocations: 11.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.004361, allocations: 4 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.004365, allocations: 3.938 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004368, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.004602, allocations: 433.9 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.004603, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.004612, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.004613, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.004618, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.004619, allocations: 64 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00462, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.879e-05/0.004669, allocations: 77.88 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.004688, allocations: 11.89 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.004699, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-06/0.004708, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.004718, allocations: 3.984 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.00472, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.004773, allocations: 123.2 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004773, allocations: 0 / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001233/0.004896, allocations: 11.94 kB / 0.9544 GB, free: 15.16 MB / 0.9167 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.0002075/0.005104, allocations: 0.6171 MB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.245e-05/0.005166, allocations: 12 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.005168, allocations: 0 / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-06/0.005176, allocations: 11.94 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.005284, allocations: 5.719 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.006195, allocations: 1.344 MB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.296e-05/0.006238, allocations: 79.31 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.006261, allocations: 4.5 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.006301, allocations: 28.48 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.006301, allocations: 3.938 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.01947, allocations: 2.243 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/6.687, allocations: 10.38 kB / 0.9587 GB, free: 10.79 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.849239340052009]