Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 192.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.582/2.582, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.9209, allocations: 140.3 MB / 0.9491 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00246/0.9234, allocations: 0.8832 MB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.9236, allocations: 41.28 kB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.9236, allocations: 1.375 kB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.653e-05/0.9237, allocations: 11.86 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.9239, allocations: 7.938 kB / 0.95 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.724e-05/0.9239, allocations: 20.11 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.924, allocations: 52.67 kB / 0.9501 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.9242, allocations: 48.44 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.9243, allocations: 26.69 kB / 0.9502 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.9243, allocations: 33.28 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.9244, allocations: 5.5 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.9244, allocations: 6.875 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.9244, allocations: 13.31 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.9245, allocations: 34.67 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.9246, allocations: 71.42 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9246, allocations: 0 / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9246, allocations: 0 / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9246, allocations: 0 / 0.9503 GB, free: 8.215 MB / 0.7169 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.0004505/0.9251, allocations: 382.5 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.9251, allocations: 9.625 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.9252, allocations: 10.34 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.9254, allocations: 197.7 kB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.9254, allocations: 8.281 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.9254, allocations: 8.188 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.9256, allocations: 95.72 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9256, allocations: 1.688 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.9257, allocations: 7.938 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.9257, allocations: 6.656 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.9258, allocations: 38.45 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.9263, allocations: 437.7 kB / 0.9515 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.986e-05/0.9264, allocations: 37 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.9264, allocations: 23.48 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.9264, allocations: 1.312 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.9264, allocations: 31.88 kB / 0.9516 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.9264, allocations: 4 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002218/0.9267, allocations: 59.36 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9267, allocations: 77.11 kB / 0.9517 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.9269, allocations: 164 kB / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.9269, allocations: 25.7 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.927, allocations: 115.5 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.927, allocations: 5.031 kB / 0.952 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.9271, allocations: 22.97 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.9271, allocations: 320.2 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.9272, allocations: 3.938 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.9272, allocations: 25.75 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.9273, allocations: 22.56 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9273, allocations: 0 / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.9274, allocations: 63.64 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.9274, allocations: 9.641 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.9274, allocations: 3.938 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.9275, allocations: 1.469 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.9275, allocations: 4.75 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.9276, allocations: 1.344 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.9276, allocations: 2.562 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.9276, allocations: 1.031 kB / 0.9524 GB, free: 6.039 MB / 0.7169 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.637e-05/0.9277, allocations: 120.8 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.9278, allocations: 8.281 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.9278, allocations: 18.95 kB / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.9278, allocations: 0.9375 kB / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9278, allocations: 1.188 kB / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.9278, allocations: 0 / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.9281, allocations: 470.1 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.9281, allocations: 5.844 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.9282, allocations: 1.938 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9282, allocations: 1.531 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.9282, allocations: 0 / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9282, allocations: 1.625 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9282, allocations: 3.938 kB / 0.953 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.9283, allocations: 83.08 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.9284, allocations: 95.12 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.9284, allocations: 5.156 kB / 0.9532 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.9284, allocations: 1.281 kB / 0.9532 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.9285, allocations: 5.312 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.9285, allocations: 1.344 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001111/0.9286, allocations: 123.8 kB / 0.9534 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9286, allocations: 3.938 kB / 0.9534 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002127/0.9288, allocations: 7.094 kB / 0.9534 GB, free: 5.078 MB / 0.7169 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.0001773/0.929, allocations: 100.8 kB / 0.9535 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.9291, allocations: 14.41 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9291, allocations: 1.062 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.9292, allocations: 11.48 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.9294, allocations: 12.17 kB / 0.9535 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.9298, allocations: 183.7 kB / 0.9537 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.93, allocations: 0.6983 MB / 0.9544 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.9301, allocations: 5.594 kB / 0.9544 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.9301, allocations: 15.12 kB / 0.9544 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.9301, allocations: 0 / 0.9544 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of Templates: time 0.003301/0.9334, allocations: 447.8 kB / 0.9548 GB, free: 3.848 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches