Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.009887/0.009887, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001843/0.001843, allocations: 186.9 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.008/2.008, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 3.506/3.506, allocations: 390.3 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 70.2 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3094, allocations: 140.4 MB / 1.088 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001937/0.3114, allocations: 0.6778 MB / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.3123, allocations: 0.8004 MB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.3124, allocations: 0 / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.3124, allocations: 0 / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.3125, allocations: 7.938 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.3126, allocations: 7.969 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.317e-05/0.3127, allocations: 23.94 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3128, allocations: 11.98 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.3129, allocations: 3.938 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.313, allocations: 15.98 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.313, allocations: 4 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.313, allocations: 0 / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.313, allocations: 7.938 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.3131, allocations: 4 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.464e-05/0.3132, allocations: 27.88 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3132, allocations: 4 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3132, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3132, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004364/0.3136, allocations: 334.4 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3137, allocations: 12.03 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.3137, allocations: 34.75 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.3138, allocations: 4.844 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3139, allocations: 168.3 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.3139, allocations: 384 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3139, allocations: 384 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3141, allocations: 50.23 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3141, allocations: 3.938 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3141, allocations: 7.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3141, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3143, allocations: 35.95 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.3146, allocations: 241 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3148, allocations: 46.42 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.3149, allocations: 24.91 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.3149, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.3149, allocations: 30.56 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.315, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003573/0.3153, allocations: 81.7 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.3154, allocations: 59.41 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.3154, allocations: 101.8 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.3155, allocations: 25.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.3155, allocations: 88.05 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.3155, allocations: 4.562 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3156, allocations: 9.719 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.3157, allocations: 318.8 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.3158, allocations: 19.97 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.3158, allocations: 15.98 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.316, allocations: 36.83 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.316, allocations: 3.938 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.3162, allocations: 77.56 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3162, allocations: 4 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3163, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3163, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.3164, allocations: 15.98 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3164, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.3164, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3164, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 7.323e-05/0.3165, allocations: 118.1 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3166, allocations: 8.188 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.3168, allocations: 64.78 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3168, allocations: 3.984 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3168, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3168, allocations: 3.938 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.317, allocations: 165.5 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.317, allocations: 7.922 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.3171, allocations: 8.031 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3171, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3171, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3171, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3171, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.3174, allocations: 163.5 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.3174, allocations: 89.03 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.3174, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.3175, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.3175, allocations: 3.984 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3176, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.878e-05/0.3176, allocations: 83.28 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3176, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002261/0.3178, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0005161/0.3184, allocations: 0.7045 MB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3186, allocations: 35.95 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3186, allocations: 4.094 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.3187, allocations: 23.92 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.319, allocations: 5.406 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.3194, allocations: 131.3 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3197, allocations: 0.6768 MB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.3197, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.3198, allocations: 19.5 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3198, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5061/0.8259, allocations: 1.275 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.36, allocations: 2.812 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches