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.001348/0.001348, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001455/0.001455, allocations: 169 kB / 24.28 MB, free: 276 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.9597/0.9597, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.869/1.869, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",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.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.501e-05, allocations: 3.875 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004107/0.004132, allocations: 3.794 MB / 0.8152 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.006468, allocations: 1.831 MB / 0.817 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.006722, allocations: 23.81 kB / 0.817 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.007439, allocations: 268.4 kB / 0.8173 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.008042, allocations: 325.8 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.008937, allocations: 253.6 kB / 0.8178 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000628/0.009565, allocations: 0.6244 MB / 0.8185 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.009957, allocations: 226.6 kB / 0.8187 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.01041, allocations: 331.9 kB / 0.819 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.01068, allocations: 213.5 kB / 0.8192 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.01072, allocations: 24 kB / 0.8192 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.01108, allocations: 259.2 kB / 0.8195 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.0112, allocations: 123.6 kB / 0.8196 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.01132, allocations: 144.2 kB / 0.8197 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.01187, allocations: 462.3 kB / 0.8202 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01188, allocations: 1.25 kB / 0.8202 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01188, allocations: 0 / 0.8202 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.01189, allocations: 0 / 0.8202 GB, free: 9.223 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.000839/0.01273, allocations: 0.7627 MB / 0.8209 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.01277, allocations: 12.03 kB / 0.8209 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.01342, allocations: 193.2 kB / 0.8211 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.01383, allocations: 370.3 kB / 0.8215 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.01385, allocations: 25.02 kB / 0.8215 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.01389, allocations: 28.38 kB / 0.8215 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.01439, allocations: 0.5481 MB / 0.822 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.0144, allocations: 0 / 0.822 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.01443, allocations: 20.42 kB / 0.8221 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.01448, allocations: 49.44 kB / 0.8221 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.01474, allocations: 189.2 kB / 0.8223 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.01683, allocations: 3.542 MB / 0.8257 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.01719, allocations: 203 kB / 0.8259 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.01729, allocations: 67.66 kB / 0.826 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.01731, allocations: 4 kB / 0.826 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.01733, allocations: 45.27 kB / 0.826 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 2.194e-06/0.01734, allocations: 0 / 0.826 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0009173/0.01825, allocations: 0.4998 MB / 0.8265 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.01828, allocations: 55.64 kB / 0.8266 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.0185, allocations: 375.5 kB / 0.8269 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.01852, allocations: 33.7 kB / 0.827 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.01865, allocations: 295.9 kB / 0.8273 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.0187, allocations: 99.17 kB / 0.8274 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.01878, allocations: 83.8 kB / 0.8274 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.01891, allocations: 0.5128 MB / 0.8279 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.019, allocations: 64.95 kB / 0.828 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.01918, allocations: 266.6 kB / 0.8283 GB, free: 452 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.01948, allocations: 369.6 kB / 0.8286 GB, free: 0 / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01948, allocations: 0 / 0.8286 GB, free: 0 / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004686/0.01995, allocations: 415.9 kB / 0.829 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.01997, allocations: 4.625 kB / 0.829 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.01998, allocations: 8 kB / 0.829 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.02016, allocations: 78.95 kB / 0.8291 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.02034, allocations: 83.88 kB / 0.8292 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.02035, allocations: 11.94 kB / 0.8292 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.02047, allocations: 31.97 kB / 0.8292 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.02049, allocations: 20 kB / 0.8292 GB, free: 15.32 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.00012/0.02061, allocations: 180.4 kB / 0.8294 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.02066, allocations: 47.77 kB / 0.8295 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.02102, allocations: 284.6 kB / 0.8297 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.02103, allocations: 4 kB / 0.8297 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.02103, allocations: 0 / 0.8297 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.02103, allocations: 0 / 0.8297 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.02171, allocations: 0.6787 MB / 0.8304 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02171, allocations: 0 / 0.8304 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.02183, allocations: 47.97 kB / 0.8304 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.02196, allocations: 71.03 kB / 0.8305 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.02197, allocations: 8 kB / 0.8305 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.02198, allocations: 0 / 0.8305 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.02198, allocations: 7.938 kB / 0.8305 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.02236, allocations: 450 kB / 0.8309 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.02244, allocations: 63.61 kB / 0.831 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.02247, allocations: 8 kB / 0.831 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.02257, allocations: 19.97 kB / 0.831 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.02263, allocations: 23.95 kB / 0.8311 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.02264, allocations: 12 kB / 0.8311 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001385/0.02278, allocations: 247.1 kB / 0.8313 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02278, allocations: 0 / 0.8313 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002743/0.02306, allocations: 87.94 kB / 0.8314 GB, free: 12.96 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.0003195/0.02338, allocations: 107.2 kB / 0.8315 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.02379, allocations: 257.4 kB / 0.8317 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02379, allocations: 0 / 0.8317 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.02394, allocations: 134.2 kB / 0.8319 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.02439, allocations: 140.9 kB / 0.832 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.02539, allocations: 0.6663 MB / 0.8326 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.242e-05/0.02548, allocations: 113.6 kB / 0.8328 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.02564, allocations: 67.28 kB / 0.8328 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.0257, allocations: 28.5 kB / 0.8328 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of SimCode: time 1.113e-06/0.0257, allocations: 0 / 0.8328 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of Templates: time 0.007524/0.03323, allocations: 4.818 MB / 0.8376 GB, free: 6.715 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","",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.162090533878654]