Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01033/0.01033, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.00169/0.00169, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.419/1.419, 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 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.11 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.848/1.128, allocations: 168.4 MB / 1.372 GB, free: 116 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02393/1.152, allocations: 17.35 MB / 1.389 GB, free: 2.938 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/1.153, allocations: 30.94 kB / 1.389 GB, free: 2.926 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/1.156, allocations: 0.5838 MB / 1.39 GB, free: 2.434 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/1.162, allocations: 1.806 MB / 1.391 GB, free: 1.082 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004246/1.166, allocations: 1.455 MB / 1.393 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004247/1.17, allocations: 2.861 MB / 1.396 GB, free: 14.28 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003268/1.174, allocations: 1.949 MB / 1.398 GB, free: 12.99 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/1.178, allocations: 1.478 MB / 1.399 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/1.18, allocations: 1.113 MB / 1.4 GB, free: 11.42 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007106/1.181, allocations: 221 kB / 1.4 GB, free: 11.42 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/1.185, allocations: 1.551 MB / 1.402 GB, free: 10.69 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009866/1.186, allocations: 0.7955 MB / 1.403 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/1.188, allocations: 1.216 MB / 1.404 GB, free: 9.273 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005822/1.194, allocations: 3.592 MB / 1.407 GB, free: 6.809 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.194, allocations: 0 / 1.407 GB, free: 6.809 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.893e-06/1.194, allocations: 0 / 1.407 GB, free: 6.809 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001157/1.194, allocations: 4 kB / 1.407 GB, free: 6.805 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00582/1.2, allocations: 2.753 MB / 1.41 GB, free: 4.781 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/1.2, allocations: 10.5 kB / 1.41 GB, free: 4.781 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00374/1.203, allocations: 0.5538 MB / 1.411 GB, free: 4.523 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/1.206, allocations: 1.625 MB / 1.412 GB, free: 3.387 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/1.206, allocations: 129.5 kB / 1.412 GB, free: 3.328 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/1.207, allocations: 169.8 kB / 1.412 GB, free: 3.273 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/1.21, allocations: 1.948 MB / 1.414 GB, free: 2.133 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/1.21, allocations: 3.938 kB / 1.414 GB, free: 2.129 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/1.21, allocations: 75.97 kB / 1.414 GB, free: 2.074 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/1.21, allocations: 40.09 kB / 1.414 GB, free: 2.074 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/1.213, allocations: 2.089 MB / 1.416 GB, free: 0.8867 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009085/1.222, allocations: 6.025 MB / 1.422 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/1.226, allocations: 2.089 MB / 1.424 GB, free: 8.352 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/1.227, allocations: 0.7576 MB / 1.425 GB, free: 7.594 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/1.228, allocations: 437.6 kB / 1.426 GB, free: 7.094 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001763/1.229, allocations: 1.001 MB / 1.427 GB, free: 6.07 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.456e-06/1.229, allocations: 0 / 1.427 GB, free: 6.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006772/1.236, allocations: 2.954 MB / 1.429 GB, free: 3.004 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/1.236, allocations: 197.2 kB / 1.43 GB, free: 2.77 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/1.239, allocations: 1.791 MB / 1.431 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002454/1.239, allocations: 61.64 kB / 1.431 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/1.24, allocations: 0.8233 MB / 1.432 GB, free: 64 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005435/1.241, allocations: 481 kB / 1.433 GB, free: 15.59 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/1.241, allocations: 262.7 kB / 1.433 GB, free: 15.32 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.241, allocations: 357.9 kB / 1.433 GB, free: 14.96 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/1.242, allocations: 0.5921 MB / 1.434 GB, free: 14.38 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/1.244, allocations: 0.7975 MB / 1.435 GB, free: 13.52 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/1.246, allocations: 1.337 MB / 1.436 GB, free: 12.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.246, allocations: 0 / 1.436 GB, free: 12.18 MB / 1.123 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004067/1.25, allocations: 1.803 MB / 1.438 GB, free: 10.35 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.25, allocations: 8.094 kB / 1.438 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.25, allocations: 3.938 kB / 1.438 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.251, allocations: 212.1 kB / 1.438 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/1.253, allocations: 331.6 kB / 1.438 GB, free: 9.793 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005796/1.259, allocations: 7.323 MB / 1.445 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/1.26, allocations: 176.6 kB / 1.446 GB, free: 1.59 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/1.261, allocations: 59.89 kB / 1.446 GB, free: 1.531 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001139/1.262, allocations: 491.1 kB / 1.446 GB, free: 1.039 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005534/1.262, allocations: 177.8 kB / 1.446 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/1.267, allocations: 2.113 MB / 1.448 GB, free: 14.72 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.267, allocations: 19.98 kB / 1.448 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.267, allocations: 3.938 kB / 1.448 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.267, allocations: 3.984 kB / 1.448 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008011/1.275, allocations: 3.973 MB / 1.452 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.275, allocations: 0 / 1.452 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.277, allocations: 319.5 kB / 1.453 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009018/1.278, allocations: 208.1 kB / 1.453 GB, free: 10.11 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/1.278, allocations: 43.95 kB / 1.453 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005828/1.284, allocations: 7.355 MB / 1.46 GB, free: 2 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.284, allocations: 0 / 1.46 GB, free: 2 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/1.288, allocations: 1.992 MB / 1.462 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.289, allocations: 466.3 kB / 1.462 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/1.29, allocations: 27.98 kB / 1.462 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/1.291, allocations: 102.3 kB / 1.462 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/1.291, allocations: 117.1 kB / 1.463 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/1.291, allocations: 63.95 kB / 1.463 GB, free: 15.19 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001923/1.293, allocations: 1.285 MB / 1.464 GB, free: 13.91 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.41e-07/1.293, allocations: 0 / 1.464 GB, free: 13.91 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002064/1.295, allocations: 0.682 MB / 1.465 GB, free: 13.23 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001886/1.297, allocations: 0.7503 MB / 1.465 GB, free: 12.66 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00357/1.301, allocations: 2.086 MB / 1.467 GB, free: 10.51 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/1.301, allocations: 4.562 kB / 1.467 GB, free: 10.5 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/1.303, allocations: 1.411 MB / 1.469 GB, free: 9.031 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.306, allocations: 0.5446 MB / 1.469 GB, free: 8.504 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/1.312, allocations: 3.695 MB / 1.473 GB, free: 4.777 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.313, allocations: 1.526 MB / 1.474 GB, free: 3.219 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001878/1.315, allocations: 0.5086 MB / 1.475 GB, free: 2.703 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/1.316, allocations: 179.3 kB / 1.475 GB, free: 2.527 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/1.316, allocations: 0 / 1.475 GB, free: 2.527 MB / 1.154 GB Notification: Performance of Templates: time 0.05418/1.37, allocations: 32.14 MB / 1.506 GB, free: 2.715 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches