Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001916/0.001916, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002723/0.002723, allocations: 161.7 kB / 23.55 MB, free: 0.8711 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 1.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.016/3.016, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8108 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.796e-05, allocations: 8.781 kB / 0.8108 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.009718/0.009756, allocations: 3.761 MB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005503/0.01526, allocations: 1.831 MB / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.01577, allocations: 19.81 kB / 0.8163 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.01719, allocations: 268.4 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.0185, allocations: 321.3 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.01948, allocations: 254.4 kB / 0.8171 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.02083, allocations: 0.6244 MB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006567/0.02149, allocations: 226.6 kB / 0.8179 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.0225, allocations: 339.6 kB / 0.8182 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.02314, allocations: 204.1 kB / 0.8184 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.02326, allocations: 28 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/0.02405, allocations: 255.7 kB / 0.8187 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.02431, allocations: 125.2 kB / 0.8188 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.02467, allocations: 147.6 kB / 0.819 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.02607, allocations: 0.6035 MB / 0.8196 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.02607, allocations: 4 kB / 0.8196 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.02607, allocations: 0.625 kB / 0.8196 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.02609, allocations: 0 / 0.8196 GB, free: 9.035 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001969/0.02806, allocations: 0.7742 MB / 0.8203 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.02811, allocations: 11.97 kB / 0.8203 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.02977, allocations: 197.4 kB / 0.8205 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.03079, allocations: 366 kB / 0.8209 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.03083, allocations: 21.03 kB / 0.8209 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/0.03093, allocations: 40.25 kB / 0.8209 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.03221, allocations: 0.5709 MB / 0.8215 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.03223, allocations: 1.062 kB / 0.8215 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.03229, allocations: 12 kB / 0.8215 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.03241, allocations: 44.62 kB / 0.8215 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008745/0.03329, allocations: 243.7 kB / 0.8218 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005294/0.03858, allocations: 3.625 MB / 0.8253 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.03927, allocations: 203.7 kB / 0.8255 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.0395, allocations: 83.66 kB / 0.8256 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.03953, allocations: 4.5 kB / 0.8256 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.03958, allocations: 46.3 kB / 0.8256 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.03958, allocations: 0 / 0.8256 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.001783/0.04136, allocations: 0.5545 MB / 0.8262 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.04141, allocations: 55.58 kB / 0.8262 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.04188, allocations: 443.5 kB / 0.8266 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.04192, allocations: 29.7 kB / 0.8267 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.04218, allocations: 306.8 kB / 0.827 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.04229, allocations: 110.5 kB / 0.8271 GB, free: 0.9531 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.04244, allocations: 87.8 kB / 0.8272 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003123/0.04275, allocations: 0.5274 MB / 0.8277 GB, free: 328 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.04295, allocations: 80.95 kB / 0.8277 GB, free: 248 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.04338, allocations: 298.6 kB / 0.828 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/0.04404, allocations: 418.7 kB / 0.8284 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.04404, allocations: 4 kB / 0.8284 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009262/0.04496, allocations: 459.8 kB / 0.8289 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.04499, allocations: 8 kB / 0.8289 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.045, allocations: 4.625 kB / 0.8289 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.04534, allocations: 79.02 kB / 0.829 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.0457, allocations: 91.81 kB / 0.829 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.04571, allocations: 4 kB / 0.8291 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.04594, allocations: 23.97 kB / 0.8291 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.04598, allocations: 27.94 kB / 0.8291 GB, free: 14.66 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002253/0.04621, allocations: 204.3 kB / 0.8293 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/0.0463, allocations: 47.77 kB / 0.8293 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.04706, allocations: 312.6 kB / 0.8296 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.04707, allocations: 4 kB / 0.8296 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.04708, allocations: 3.984 kB / 0.8296 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.04708, allocations: 0 / 0.8296 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.04847, allocations: 0.7569 MB / 0.8304 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.04847, allocations: 0 / 0.8304 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.04871, allocations: 51.95 kB / 0.8304 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.04895, allocations: 71.11 kB / 0.8305 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.04897, allocations: 11.94 kB / 0.8305 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.04897, allocations: 0 / 0.8305 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.04898, allocations: 7.938 kB / 0.8305 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.04978, allocations: 490 kB / 0.831 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.04994, allocations: 59.72 kB / 0.831 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.04999, allocations: 8 kB / 0.8311 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.0502, allocations: 15.98 kB / 0.8311 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.05028, allocations: 27.95 kB / 0.8311 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.0503, allocations: 8 kB / 0.8311 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002712/0.05057, allocations: 275.1 kB / 0.8314 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.05057, allocations: 0 / 0.8314 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004087/0.05098, allocations: 88 kB / 0.8315 GB, free: 12.09 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.05114, allocations: 111.1 kB / 0.8316 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006839/0.05182, allocations: 305.3 kB / 0.8318 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.05183, allocations: 0 / 0.8318 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.05217, allocations: 163.6 kB / 0.832 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.05287, allocations: 127.9 kB / 0.8321 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.0541, allocations: 0.6857 MB / 0.8328 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.05435, allocations: 220.1 kB / 0.833 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.05456, allocations: 63.3 kB / 0.8331 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.05465, allocations: 28.5 kB / 0.8331 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of SimCode: time 7.21e-07/0.05465, allocations: 0 / 0.8331 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of Templates: time 0.01166/0.06631, allocations: 4.812 MB / 0.8378 GB, free: 5.668 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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: 8.44720218796283]