Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001371/0.001371, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00271/0.00271, allocations: 213.1 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.From_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 70.83 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3924, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002065/0.3945, allocations: 0.7937 MB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.3946, allocations: 39.78 kB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.3947, allocations: 4 kB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.3947, allocations: 11.86 kB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.3948, allocations: 11.88 kB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.614e-05/0.3948, allocations: 15.98 kB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3949, allocations: 59.84 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3951, allocations: 31.97 kB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.3951, allocations: 31.81 kB / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.3952, allocations: 23.84 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3952, allocations: 8 kB / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.3952, allocations: 4 kB / 1.326 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.3952, allocations: 15.94 kB / 1.326 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.3953, allocations: 35.78 kB / 1.326 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3954, allocations: 75.81 kB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3954, allocations: 0 / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3954, allocations: 4 kB / 1.326 GB, free: 1.184 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3954, allocations: 0 / 1.326 GB, free: 1.184 MB / 1.014 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.0004932/0.3959, allocations: 310 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3959, allocations: 8.031 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.396, allocations: 38.75 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.396, allocations: 8.891 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3962, allocations: 134.4 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3962, allocations: 12.28 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.3962, allocations: 4.375 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3964, allocations: 99.88 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3964, allocations: 3.938 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3964, allocations: 4 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3964, allocations: 11.94 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/0.3965, allocations: 35.92 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.397, allocations: 387.9 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.386e-05/0.3971, allocations: 37.19 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.3971, allocations: 21.84 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.3972, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3972, allocations: 34.56 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3972, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.3974, allocations: 69.56 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3974, allocations: 77.11 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.3976, allocations: 156.1 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3976, allocations: 29.64 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.3977, allocations: 108 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.3977, allocations: 7.953 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.3977, allocations: 17.72 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3979, allocations: 318.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.3979, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.3979, allocations: 21.72 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.3979, allocations: 29.81 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.398, allocations: 0 / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.43e-05/0.398, allocations: 65.58 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3981, allocations: 11.94 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3981, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3981, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.3981, allocations: 4 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3981, allocations: 4 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.3982, allocations: 3.953 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3982, allocations: 12.05 kB / 1.328 GB, free: 14.9 MB / 1.029 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 8.195e-05/0.3983, allocations: 114.3 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.3983, allocations: 11.89 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.3983, allocations: 11.81 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3983, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3983, allocations: 4 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3983, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.3987, allocations: 441.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3987, allocations: 3.984 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.3988, allocations: 8.062 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3988, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.3988, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3988, allocations: 4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3988, allocations: 7.875 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.247e-05/0.3989, allocations: 77.89 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.3989, allocations: 11.94 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.3989, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.3989, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.3989, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.399, allocations: 7.969 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.47e-05/0.399, allocations: 121.3 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.399, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002125/0.3993, allocations: 12 kB / 1.329 GB, free: 13.98 MB / 1.029 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.0004201/0.3997, allocations: 0.6093 MB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.3998, allocations: 23.92 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3998, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.3998, allocations: 8.156 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.3999, allocations: 13.33 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.4013, allocations: 1.328 MB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.228e-05/0.4013, allocations: 83.12 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.4014, allocations: 8.422 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.4014, allocations: 27.44 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4014, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.4334, allocations: 2.103 MB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.98, allocations: 18.05 kB / 1.333 GB, free: 9.758 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 18.85852005518973]