Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001372/0.001372, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.594/2.594, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004453, allocations: 11.98 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.822/0.8225, allocations: 142.4 MB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.0009699/0.8235, allocations: 0.5147 MB / 0.9549 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.8236, allocations: 40.75 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.8237, allocations: 2.406 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.8237, allocations: 3.938 kB / 0.955 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.8238, allocations: 3.938 kB / 0.955 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.034e-05/0.8238, allocations: 16.3 kB / 0.955 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.138e-05/0.8239, allocations: 57.72 kB / 0.9551 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.824, allocations: 30.69 kB / 0.9551 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.8241, allocations: 21.27 kB / 0.9551 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.8242, allocations: 20.14 kB / 0.9551 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.8242, allocations: 1.469 kB / 0.9551 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.8242, allocations: 1.344 kB / 0.9551 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.8242, allocations: 10.5 kB / 0.9551 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.8242, allocations: 36.58 kB / 0.9552 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.621e-05/0.8243, allocations: 46.39 kB / 0.9552 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8243, allocations: 5.344 kB / 0.9552 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8243, allocations: 0 / 0.9552 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.8244, allocations: 0 / 0.9552 GB, free: 7.125 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.0003328/0.8247, allocations: 367.8 kB / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.8247, allocations: 9.344 kB / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.8248, allocations: 15.83 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.8249, allocations: 198.4 kB / 0.9558 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.825, allocations: 6.062 kB / 0.9558 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.825, allocations: 9.859 kB / 0.9558 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.8252, allocations: 92.06 kB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8252, allocations: 0 / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.8252, allocations: 9.281 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8252, allocations: 2.281 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.611e-05/0.8253, allocations: 38.34 kB / 0.9559 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.8257, allocations: 433.7 kB / 0.9564 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.8258, allocations: 41.25 kB / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.8258, allocations: 23.94 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.8258, allocations: 1.125 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.8259, allocations: 35.42 kB / 0.9564 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8259, allocations: 0 / 0.9564 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.826, allocations: 50.64 kB / 0.9565 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.8261, allocations: 82.11 kB / 0.9566 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.8262, allocations: 166.9 kB / 0.9567 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.8262, allocations: 31.08 kB / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.8263, allocations: 103.8 kB / 0.9569 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-06/0.8263, allocations: 12.81 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.8263, allocations: 1.188 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.8264, allocations: 324 kB / 0.9572 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.8264, allocations: 3.062 kB / 0.9572 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.8264, allocations: 23.59 kB / 0.9572 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.8264, allocations: 7.906 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8264, allocations: 1.5 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.319e-05/0.8265, allocations: 57.53 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.8265, allocations: 6 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8265, allocations: 0 / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.8266, allocations: 0.9688 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.8266, allocations: 5.656 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.8266, allocations: 9.297 kB / 0.9573 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.8267, allocations: 2.062 kB / 0.9573 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.8267, allocations: 0.8438 kB / 0.9573 GB, free: 5.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.8267, allocations: 118.3 kB / 0.9574 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.8268, allocations: 6.938 kB / 0.9574 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.8268, allocations: 11.69 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8268, allocations: 0 / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8268, allocations: 1.031 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8268, allocations: 1 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.8271, allocations: 489.5 kB / 0.9579 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8271, allocations: 1 kB / 0.9579 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.8271, allocations: 3.156 kB / 0.9579 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8271, allocations: 1.156 kB / 0.9579 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.8272, allocations: 0 / 0.9579 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.8272, allocations: 9.156 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8272, allocations: 1.031 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.892e-05/0.8273, allocations: 82.31 kB / 0.958 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.8273, allocations: 88.36 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.8273, allocations: 0.9688 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.785e-05/0.8273, allocations: 0 / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.8274, allocations: 2.094 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.8274, allocations: 5.109 kB / 0.9581 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.8274, allocations: 119 kB / 0.9582 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8274, allocations: 1.062 kB / 0.9582 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001831/0.8276, allocations: 14.8 kB / 0.9582 GB, free: 4.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.41e-05/0.8277, allocations: 107.7 kB / 0.9583 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.8278, allocations: 13.94 kB / 0.9583 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8278, allocations: 1 kB / 0.9583 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.8278, allocations: 11.66 kB / 0.9583 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.828, allocations: 11.31 kB / 0.9584 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.8283, allocations: 178.3 kB / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.8285, allocations: 0.6945 MB / 0.9592 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.875e-05/0.8285, allocations: 7.984 kB / 0.9592 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.8285, allocations: 11.19 kB / 0.9592 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of SimCode: time 1.222e-06/0.8285, allocations: 1.469 kB / 0.9592 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of Templates: time 0.002459/0.831, allocations: 418.1 kB / 0.9596 GB, free: 2.816 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches