Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 110.8 kB / 16.42 MB, free: 6.512 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.001539/0.001539, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8085/0.81, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004918/0.815, allocations: 3.851 MB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.8175, allocations: 1.769 MB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.8177, allocations: 10.5 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.8189, allocations: 448.1 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004998/0.8194, allocations: 259.1 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.82, allocations: 252.4 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007464/0.8208, allocations: 497.6 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007392/0.8215, allocations: 364.1 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.8219, allocations: 203.6 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.8224, allocations: 236.6 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/0.8224, allocations: 29.72 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.8229, allocations: 184.3 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.823, allocations: 132.6 kB / 1.097 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.8232, allocations: 175.6 kB / 1.097 GB, free: 424 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.8239, allocations: 495.4 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.8239, allocations: 1.453 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.824, allocations: 0 / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.824, allocations: 4 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001196/0.8252, allocations: 0.6578 MB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8252, allocations: 8.531 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.8258, allocations: 85.84 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.8262, allocations: 307.1 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.8263, allocations: 25.77 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.8263, allocations: 22.81 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.8273, allocations: 497.9 kB / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.8273, allocations: 0 / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.8273, allocations: 15.39 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-05/0.8274, allocations: 43.09 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008869/0.8283, allocations: 372.2 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.8308, allocations: 2.029 MB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.8315, allocations: 210.6 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.8319, allocations: 154.5 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.832, allocations: 10.88 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.832, allocations: 37.34 kB / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.832, allocations: 0 / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.00128/0.8333, allocations: 424.6 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.8334, allocations: 57.09 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.8337, allocations: 257.8 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.8338, allocations: 26.27 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.8339, allocations: 214.2 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.834, allocations: 61.27 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.8341, allocations: 60.88 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8343, allocations: 336.7 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.8346, allocations: 97.42 kB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.8349, allocations: 210.7 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.8356, allocations: 304.8 kB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.8356, allocations: 5.375 kB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000943/0.8365, allocations: 359.4 kB / 1.104 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.8366, allocations: 6.812 kB / 1.104 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8366, allocations: 3.781 kB / 1.104 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.8368, allocations: 33.88 kB / 1.104 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.8372, allocations: 68.56 kB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.8385, allocations: 1.433 MB / 1.105 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.8388, allocations: 44.89 kB / 1.105 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.8388, allocations: 12 kB / 1.105 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004078/0.8393, allocations: 218.5 kB / 1.106 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003314/0.8396, allocations: 223.9 kB / 1.106 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005577/0.8402, allocations: 318.5 kB / 1.106 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.96e-06/0.8402, allocations: 2.031 kB / 1.106 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007319/0.8409, allocations: 337.5 kB / 1.106 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.8409, allocations: 6.406 kB / 1.106 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8409, allocations: 5.047 kB / 1.106 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.841, allocations: 6.656 kB / 1.106 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.8412, allocations: 71.98 kB / 1.107 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.8413, allocations: 10.36 kB / 1.107 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.8415, allocations: 39.8 kB / 1.107 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.8416, allocations: 16.44 kB / 1.107 GB, free: 9.309 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.8417, allocations: 197 kB / 1.107 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.8418, allocations: 25 kB / 1.107 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.429e-05/0.8418, allocations: 36.2 kB / 1.107 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.8418, allocations: 1.812 kB / 1.107 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8419, allocations: 4 kB / 1.107 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.842, allocations: 115 kB / 1.107 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.842, allocations: 7.219 kB / 1.107 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.8422, allocations: 16.03 kB / 1.107 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.8423, allocations: 15.81 kB / 1.107 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008107/0.8431, allocations: 333.6 kB / 1.107 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009028/0.844, allocations: 498.2 kB / 1.108 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000268/0.8443, allocations: 88.16 kB / 1.108 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002363/0.8445, allocations: 182.2 kB / 1.108 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of Backend: time 3e-07/0.8446, allocations: 1.219 kB / 1.108 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.8463, allocations: 0.5927 MB / 1.109 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001363/0.8476, allocations: 1.015 MB / 1.11 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of Templates: time 0.01113/0.8588, allocations: 4.872 MB / 1.114 GB, free: 6.883 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches