Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 166.2 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.937/0.937, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.805/1.805, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.598e-05, allocations: 8.844 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003569/0.003585, allocations: 2.684 MB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.005199, allocations: 1.062 MB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.00533, allocations: 11.94 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.005726, allocations: 99.39 kB / 0.8165 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.00601, allocations: 152 kB / 0.8167 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.006282, allocations: 133 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.006628, allocations: 350.7 kB / 0.8171 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.00694, allocations: 193.1 kB / 0.8173 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.007223, allocations: 203.5 kB / 0.8175 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.007458, allocations: 136.4 kB / 0.8176 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.007489, allocations: 16 kB / 0.8177 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.007662, allocations: 100.8 kB / 0.8178 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.00775, allocations: 87.73 kB / 0.8178 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.007839, allocations: 89.36 kB / 0.8179 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.008154, allocations: 255.1 kB / 0.8182 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.008156, allocations: 0 / 0.8182 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.008157, allocations: 0 / 0.8182 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.008162, allocations: 0 / 0.8182 GB, free: 11.92 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006198/0.008781, allocations: 0.5673 MB / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.008811, allocations: 12.5 kB / 0.8187 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.009334, allocations: 114.3 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.009564, allocations: 202.8 kB / 0.819 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.009581, allocations: 12.88 kB / 0.819 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.009611, allocations: 24.38 kB / 0.8191 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.009921, allocations: 312.5 kB / 0.8194 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.009931, allocations: 1.438 kB / 0.8194 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.009952, allocations: 8.375 kB / 0.8194 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.009985, allocations: 20.42 kB / 0.8194 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.01011, allocations: 72.75 kB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.01124, allocations: 1.272 MB / 0.8207 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.01146, allocations: 96.42 kB / 0.8208 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.01148, allocations: 15.69 kB / 0.8208 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.0115, allocations: 8.578 kB / 0.8208 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.01152, allocations: 41.92 kB / 0.8209 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.01152, allocations: 0 / 0.8209 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002351/0.01175, allocations: 119.1 kB / 0.821 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.01177, allocations: 55.41 kB / 0.821 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.01189, allocations: 243.2 kB / 0.8213 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.0119, allocations: 30.58 kB / 0.8213 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.01199, allocations: 230.7 kB / 0.8215 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.01201, allocations: 35.17 kB / 0.8215 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.01206, allocations: 39.36 kB / 0.8216 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.01218, allocations: 0.5001 MB / 0.8221 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.0122, allocations: 15.94 kB / 0.8221 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.01226, allocations: 116.7 kB / 0.8222 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.01236, allocations: 143.4 kB / 0.8223 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01236, allocations: 0 / 0.8223 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001643/0.01253, allocations: 150.5 kB / 0.8225 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01254, allocations: 9.938 kB / 0.8225 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01254, allocations: 0 / 0.8225 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.01267, allocations: 39 kB / 0.8225 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.01274, allocations: 35.92 kB / 0.8226 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006818/0.01342, allocations: 1.709 MB / 0.8242 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.0135, allocations: 20.75 kB / 0.8242 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.0135, allocations: 8 kB / 0.8243 GB, free: 5.211 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.022e-05/0.01358, allocations: 169.6 kB / 0.8244 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.01361, allocations: 15.91 kB / 0.8244 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/0.01363, allocations: 18.56 kB / 0.8244 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01363, allocations: 3.938 kB / 0.8245 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01363, allocations: 0 / 0.8245 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01364, allocations: 9.047 kB / 0.8245 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.01391, allocations: 365.6 kB / 0.8248 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01391, allocations: 5.281 kB / 0.8248 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.01394, allocations: 15.92 kB / 0.8248 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.01405, allocations: 33.33 kB / 0.8249 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.01405, allocations: 0 / 0.8249 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/0.01465, allocations: 1.719 MB / 0.8265 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01465, allocations: 3.984 kB / 0.8265 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.01492, allocations: 244.3 kB / 0.8268 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.01495, allocations: 23.89 kB / 0.8268 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.01496, allocations: 1.094 kB / 0.8268 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.01504, allocations: 7.984 kB / 0.8268 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.01507, allocations: 12.64 kB / 0.8268 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.01507, allocations: 3.938 kB / 0.8268 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.633e-05/0.01514, allocations: 175.3 kB / 0.827 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01514, allocations: 0 / 0.827 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002093/0.01535, allocations: 55.89 kB / 0.827 GB, free: 2.184 MB / 0.7761 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 (7): * Single equations (assignments): 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.38e-05/0.01542, allocations: 99.25 kB / 0.8271 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.01564, allocations: 241.7 kB / 0.8274 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01565, allocations: 5.094 kB / 0.8274 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.01575, allocations: 205.4 kB / 0.8276 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01599, allocations: 37.86 kB / 0.8276 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.01657, allocations: 386.8 kB / 0.828 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.01662, allocations: 91.95 kB / 0.8281 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.009e-05/0.01667, allocations: 13.48 kB / 0.8281 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.32e-05/0.01676, allocations: 102.2 kB / 0.8282 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of SimCode: time 8.62e-07/0.01676, allocations: 0 / 0.8282 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of Templates: time 0.003588/0.02035, allocations: 2.047 MB / 0.8302 GB, free: 14.93 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.002002188935876]