Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.001606/0.001606, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001955/0.001955, allocations: 213.2 kB / 23 MB, free: 4.969 MB / 14.72 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 1.693/1.693, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.224/3.224, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 71.56 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3735, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004593/0.3781, allocations: 2.442 MB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.3811, allocations: 1.558 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.3812, allocations: 4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.382, allocations: 176.6 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.3825, allocations: 151.4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.383, allocations: 187.5 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.3834, allocations: 235.2 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.3837, allocations: 101.1 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.384, allocations: 103.6 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3842, allocations: 111.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.3843, allocations: 12 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.3847, allocations: 199.5 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3848, allocations: 63.88 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.3849, allocations: 71.64 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.3853, allocations: 314.9 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3853, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3853, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.3853, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008153/0.3861, allocations: 421.5 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3862, allocations: 8.031 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.387, allocations: 88.72 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.3873, allocations: 178.2 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3873, allocations: 12.66 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.3874, allocations: 16.36 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.3879, allocations: 321.3 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.388, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.388, allocations: 8 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.388, allocations: 20.16 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.3885, allocations: 220.5 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.3904, allocations: 1.291 MB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.3908, allocations: 157 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3909, allocations: 61.84 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3909, allocations: 4 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.391, allocations: 46.42 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.391, allocations: 0 / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006047/0.3916, allocations: 244.9 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3916, allocations: 81.11 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.3919, allocations: 210.8 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.3919, allocations: 25.7 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.392, allocations: 152 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.3921, allocations: 55.8 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.3921, allocations: 49.69 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3923, allocations: 318.8 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3925, allocations: 88.81 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.3927, allocations: 167 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.3931, allocations: 242.9 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3931, allocations: 4 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005574/0.3937, allocations: 289.1 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.3937, allocations: 10.33 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3937, allocations: 4 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3937, allocations: 4 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.394, allocations: 56.27 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.394, allocations: 11.94 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.3943, allocations: 32.09 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.3943, allocations: 8 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002421/0.3946, allocations: 178.5 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000214/0.3948, allocations: 151 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003267/0.3951, allocations: 227 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.3951, allocations: 4 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004867/0.3956, allocations: 265.1 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3956, allocations: 8 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3956, allocations: 4.375 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.3956, allocations: 8 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.3959, allocations: 55.89 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3959, allocations: 8.453 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.3961, allocations: 19.92 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3962, allocations: 12 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.3963, allocations: 196.1 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.3964, allocations: 15.89 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.3966, allocations: 147 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3966, allocations: 4 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3966, allocations: 4 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.3967, allocations: 27.83 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.3968, allocations: 0 / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.397, allocations: 23.97 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.397, allocations: 4.031 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003255/0.3973, allocations: 304.1 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003219/0.3977, allocations: 394 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.294e-05/0.3978, allocations: 51.95 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001848/0.3979, allocations: 152.3 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of Backend: time 4.21e-07/0.3979, allocations: 0 / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.3991, allocations: 403.2 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009074/0.4, allocations: 0.7764 MB / 1.341 GB, free: 2.574 MB / 1.029 GB Notification: Performance of Templates: time 0.00922/0.4092, allocations: 4.514 MB / 1.345 GB, free: 14.09 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.530865111999447]