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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 489.7 MB / 0.7761 GB, free: 2.465 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,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=501,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 0.001942/0.001942, allocations: 63.89 kB / 1.127 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164/1.166, allocations: 172 MB / 1.295 GB, free: 38.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005218/1.171, allocations: 4.417 MB / 1.299 GB, free: 35.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002536/1.174, allocations: 1.889 MB / 1.301 GB, free: 34.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/1.174, allocations: 8.875 kB / 1.301 GB, free: 34.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/1.175, allocations: 0.6014 MB / 1.302 GB, free: 33.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004853/1.176, allocations: 260.1 kB / 1.302 GB, free: 33.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/1.176, allocations: 255.2 kB / 1.302 GB, free: 33.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005057/1.177, allocations: 0.6169 MB / 1.303 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/1.177, allocations: 371.3 kB / 1.303 GB, free: 33.28 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/1.178, allocations: 247.9 kB / 1.303 GB, free: 33.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/1.178, allocations: 280.1 kB / 1.304 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/1.178, allocations: 35.66 kB / 1.304 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/1.178, allocations: 264.6 kB / 1.304 GB, free: 32.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/1.178, allocations: 162 kB / 1.304 GB, free: 32.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/1.179, allocations: 212.4 kB / 1.304 GB, free: 32.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006094/1.179, allocations: 0.6092 MB / 1.305 GB, free: 32.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.179, allocations: 0 / 1.305 GB, free: 32.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.179, allocations: 0 / 1.305 GB, free: 32.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.369e-05/1.179, allocations: 0 / 1.305 GB, free: 32.57 MB / 1.061 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.001092/1.18, allocations: 0.7352 MB / 1.305 GB, free: 31.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.18, allocations: 10.94 kB / 1.306 GB, free: 31.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/1.181, allocations: 149.2 kB / 1.306 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/1.182, allocations: 344.7 kB / 1.306 GB, free: 31.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/1.182, allocations: 25.61 kB / 1.306 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/1.182, allocations: 38.12 kB / 1.306 GB, free: 31.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/1.183, allocations: 0.537 MB / 1.307 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.183, allocations: 0 / 1.307 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/1.183, allocations: 13.22 kB / 1.307 GB, free: 31.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/1.183, allocations: 35.23 kB / 1.307 GB, free: 31.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/1.183, allocations: 386.1 kB / 1.307 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/1.185, allocations: 2.396 MB / 1.309 GB, free: 29.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/1.186, allocations: 248.1 kB / 1.31 GB, free: 29.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/1.186, allocations: 98.94 kB / 1.31 GB, free: 29.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/1.186, allocations: 2.969 kB / 1.31 GB, free: 29.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/1.186, allocations: 30.91 kB / 1.31 GB, free: 28.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/1.186, allocations: 3.938 kB / 1.31 GB, free: 28.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.00187/1.188, allocations: 1.141 MB / 1.311 GB, free: 28.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/1.188, allocations: 54.03 kB / 1.311 GB, free: 28.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/1.188, allocations: 303.3 kB / 1.311 GB, free: 27.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/1.188, allocations: 32.67 kB / 1.311 GB, free: 27.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/1.188, allocations: 235.8 kB / 1.311 GB, free: 27.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/1.188, allocations: 85.03 kB / 1.311 GB, free: 27.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.728e-05/1.188, allocations: 63.33 kB / 1.312 GB, free: 27.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/1.188, allocations: 338.8 kB / 1.312 GB, free: 27.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/1.188, allocations: 102.4 kB / 1.312 GB, free: 27.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/1.189, allocations: 193 kB / 1.312 GB, free: 27.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/1.189, allocations: 316.2 kB / 1.312 GB, free: 26.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.189, allocations: 0 / 1.312 GB, free: 26.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006182/1.189, allocations: 442.9 kB / 1.313 GB, free: 26.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.189, allocations: 5.781 kB / 1.313 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.189, allocations: 7.141 kB / 1.313 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/1.19, allocations: 97.09 kB / 1.313 GB, free: 26.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/1.19, allocations: 66.84 kB / 1.313 GB, free: 26.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/1.192, allocations: 4.391 MB / 1.317 GB, free: 22.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/1.193, allocations: 14.97 kB / 1.317 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/1.193, allocations: 12 kB / 1.317 GB, free: 22.34 MB / 1.061 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.0001555/1.193, allocations: 181.2 kB / 1.318 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/1.193, allocations: 36.41 kB / 1.318 GB, free: 22.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/1.193, allocations: 35.42 kB / 1.318 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.193, allocations: 6.234 kB / 1.318 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.193, allocations: 3 kB / 1.318 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.193, allocations: 8.078 kB / 1.318 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/1.193, allocations: 397.1 kB / 1.318 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.193, allocations: 7.938 kB / 1.318 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/1.193, allocations: 36.17 kB / 1.318 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/1.194, allocations: 96.88 kB / 1.318 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/1.194, allocations: 4 kB / 1.318 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/1.196, allocations: 4.384 MB / 1.322 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.196, allocations: 0 / 1.322 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/1.196, allocations: 0.5602 MB / 1.323 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/1.197, allocations: 126 kB / 1.323 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/1.197, allocations: 6.812 kB / 1.323 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/1.197, allocations: 13.75 kB / 1.323 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/1.197, allocations: 19.23 kB / 1.323 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.197, allocations: 6.375 kB / 1.323 GB, free: 17.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001612/1.197, allocations: 211 kB / 1.323 GB, free: 16.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.197, allocations: 4.062 kB / 1.323 GB, free: 16.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004333/1.197, allocations: 102 kB / 1.323 GB, free: 16.89 MB / 1.061 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.0001178/1.198, allocations: 106.8 kB / 1.324 GB, free: 16.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006925/1.198, allocations: 0.5993 MB / 1.324 GB, free: 16.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.198, allocations: 0 / 1.324 GB, free: 16.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/1.199, allocations: 461.9 kB / 1.325 GB, free: 15.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/1.199, allocations: 77.84 kB / 1.325 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/1.2, allocations: 0.769 MB / 1.325 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.2, allocations: 0.834 MB / 1.326 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/1.2, allocations: 33 kB / 1.326 GB, free: 14.75 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/1.2, allocations: 0 / 1.326 GB, free: 14.75 MB / 1.061 GB Notification: Performance of Templates: time 0.01272/1.213, allocations: 8.708 MB / 1.335 GB, free: 14.09 MB / 1.061 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches