Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.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.001459/0.001459, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001498/0.001498, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9259/0.9259, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.039/2.039, allocations: 429.5 MB / 0.6743 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.319e-05, allocations: 8.781 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007008/0.007031, allocations: 3.308 MB / 0.8826 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004919/0.01195, allocations: 1.241 MB / 0.8838 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.01212, allocations: 11.94 kB / 0.8838 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.01259, allocations: 127.2 kB / 0.8839 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.01299, allocations: 245.6 kB / 0.8842 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.01635, allocations: 206.4 kB / 0.8844 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006078/0.01696, allocations: 0.6383 MB / 0.885 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.01743, allocations: 339.1 kB / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.01777, allocations: 347.3 kB / 0.8856 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.01816, allocations: 255.3 kB / 0.8859 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.01821, allocations: 40 kB / 0.8859 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.0184, allocations: 111.7 kB / 0.886 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01854, allocations: 163.5 kB / 0.8862 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.01869, allocations: 155.7 kB / 0.8863 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.01913, allocations: 406.6 kB / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.01913, allocations: 0 / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.003004/0.02214, allocations: 0 / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.02215, allocations: 0 / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008757/0.02303, allocations: 0.753 MB / 0.8875 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.02306, allocations: 12.03 kB / 0.8875 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.02382, allocations: 184.4 kB / 0.8877 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.02415, allocations: 279.4 kB / 0.8879 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.02418, allocations: 25.38 kB / 0.8879 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.02423, allocations: 32.38 kB / 0.888 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.02469, allocations: 0.4993 MB / 0.8885 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.0247, allocations: 8.125 kB / 0.8885 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.02474, allocations: 16.38 kB / 0.8885 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.02479, allocations: 40.56 kB / 0.8885 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.02499, allocations: 128.4 kB / 0.8886 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004599/0.02959, allocations: 1.977 MB / 0.8906 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.02989, allocations: 172.3 kB / 0.8907 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.02996, allocations: 51.66 kB / 0.8908 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.02997, allocations: 8.328 kB / 0.8908 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.03, allocations: 45.33 kB / 0.8908 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.03, allocations: 0 / 0.8908 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.004157/0.03416, allocations: 0.6064 MB / 0.8914 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.03418, allocations: 51.41 kB / 0.8915 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.03439, allocations: 312.1 kB / 0.8918 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.03441, allocations: 29.7 kB / 0.8918 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.03455, allocations: 290.7 kB / 0.8921 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.03461, allocations: 87.3 kB / 0.8922 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.0347, allocations: 67.62 kB / 0.8922 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.03484, allocations: 0.5157 MB / 0.8927 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.0349, allocations: 32.62 kB / 0.8928 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.03504, allocations: 161.6 kB / 0.8929 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.03525, allocations: 214.4 kB / 0.8931 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.03525, allocations: 3.938 kB / 0.8931 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004369/0.03569, allocations: 310.7 kB / 0.8934 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.0357, allocations: 8 kB / 0.8934 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.03571, allocations: 0 / 0.8934 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.03607, allocations: 123 kB / 0.8936 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.03626, allocations: 59.91 kB / 0.8936 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.04188, allocations: 5.219 MB / 0.8987 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.04203, allocations: 16.03 kB / 0.8987 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.04204, allocations: 8 kB / 0.8987 GB, free: 1.379 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.04217, allocations: 180.4 kB / 0.8989 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.04223, allocations: 39.75 kB / 0.8989 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.04228, allocations: 42.27 kB / 0.899 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.04228, allocations: 0 / 0.899 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.04229, allocations: 4 kB / 0.899 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.04229, allocations: 7.938 kB / 0.899 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.04255, allocations: 205.1 kB / 0.8992 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.04255, allocations: 0 / 0.8992 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.04267, allocations: 31.92 kB / 0.8992 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/0.04521, allocations: 118.9 kB / 0.8993 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.04523, allocations: 11.92 kB / 0.8993 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.04749, allocations: 5.216 MB / 0.9044 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.04749, allocations: 0 / 0.9044 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.04792, allocations: 410.3 kB / 0.9048 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.04799, allocations: 43.8 kB / 0.9049 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.04802, allocations: 0 / 0.9049 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.04815, allocations: 15.98 kB / 0.9049 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.04819, allocations: 23.91 kB / 0.9049 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.0482, allocations: 4.062 kB / 0.9049 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001176/0.04832, allocations: 205.1 kB / 0.9051 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.04832, allocations: 0 / 0.9051 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003979/0.04872, allocations: 96 kB / 0.9052 GB, free: 10.33 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001024/0.04882, allocations: 103.2 kB / 0.9053 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.04935, allocations: 0.6588 MB / 0.9059 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.04935, allocations: 0 / 0.9059 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.04969, allocations: 0.5757 MB / 0.9065 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.05009, allocations: 68.88 kB / 0.9066 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.05118, allocations: 0.6706 MB / 0.9072 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.05129, allocations: 128.6 kB / 0.9073 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.05141, allocations: 26.97 kB / 0.9074 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.05155, allocations: 138.2 kB / 0.9075 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of SimCode: time 4e-07/0.05155, allocations: 4 kB / 0.9075 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of Templates: time 0.006333/0.05788, allocations: 4.766 MB / 0.9122 GB, free: 3.125 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.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.243878924753517]