Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004257/0.004257, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001087/0.001087, allocations: 187 kB / 16.67 MB, free: 5.949 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.518/2.518, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 58.94 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 140.4 MB / 1.087 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.003688/0.3234, allocations: 0.8163 MB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002102/0.3237, allocations: 47.78 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.3238, allocations: 0 / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.088e-05/0.324, allocations: 15.86 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3241, allocations: 3.938 kB / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.822e-05/0.3242, allocations: 19.98 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3244, allocations: 59.78 kB / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.3246, allocations: 47.94 kB / 1.088 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.3247, allocations: 23.88 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3248, allocations: 31.84 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3248, allocations: 4 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.3249, allocations: 8 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.3249, allocations: 15.92 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.325, allocations: 43.73 kB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3252, allocations: 66.47 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.3252, allocations: 4 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3252, allocations: 4 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.3252, allocations: 4 kB / 1.089 GB, free: 0.7266 MB / 0.8419 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.0006708/0.3259, allocations: 376.1 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.326, allocations: 12.03 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.326, allocations: 38.69 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3261, allocations: 16.75 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3264, allocations: 196.1 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.3264, allocations: 8.453 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3265, allocations: 8.375 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3267, allocations: 91.95 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3267, allocations: 3.938 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3267, allocations: 0 / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3267, allocations: 0 / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.3268, allocations: 39.92 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.3276, allocations: 436.5 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.3276, allocations: 41.28 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.3277, allocations: 21.84 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.3277, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.3278, allocations: 34.56 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.3278, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002144/0.328, allocations: 61.47 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.328, allocations: 77.11 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3282, allocations: 159.9 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3282, allocations: 25.7 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.3283, allocations: 100 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.3283, allocations: 4.156 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.3284, allocations: 25.66 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3285, allocations: 322.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.3285, allocations: 15.94 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.3286, allocations: 13.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.3286, allocations: 25.72 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3286, allocations: 4 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.968e-05/0.3287, allocations: 57.53 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3287, allocations: 11.94 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3287, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3288, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.3288, allocations: 8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3288, allocations: 3.984 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.3289, allocations: 7.844 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3289, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 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.416e-05/0.329, allocations: 117.9 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.329, allocations: 11.84 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.3291, allocations: 7.875 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3291, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3291, allocations: 7.938 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3291, allocations: 3.938 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.3295, allocations: 478.7 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3295, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.3295, allocations: 7.938 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3295, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3295, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3296, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3296, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/0.3297, allocations: 85.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.3297, allocations: 89 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3297, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.3298, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.3298, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3298, allocations: 3.984 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.534e-05/0.3299, allocations: 120.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3299, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000189/0.3301, allocations: 8 kB / 1.092 GB, free: 13.21 MB / 0.8575 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.0003992/0.3305, allocations: 0.621 MB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.3306, allocations: 23.92 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3306, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.3307, allocations: 8.156 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.3308, allocations: 9.938 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3321, allocations: 1.334 MB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.3324, allocations: 0.6968 MB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.066e-05/0.3324, allocations: 8.422 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.3325, allocations: 27.42 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3325, allocations: 0 / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.3501, allocations: 1.585 MB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.068, allocations: 13.55 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches