Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000795/0.000795, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009074/0.0009074, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9387/0.9387, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.255/2.255, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.711e-05, allocations: 10.19 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003448/0.003475, allocations: 3.075 MB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.005027, allocations: 1.157 MB / 0.8427 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.005157, allocations: 19.81 kB / 0.8427 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.005562, allocations: 115.2 kB / 0.8428 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.005878, allocations: 254.4 kB / 0.8431 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.006123, allocations: 215.5 kB / 0.8433 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.006552, allocations: 0.6205 MB / 0.8439 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.006816, allocations: 246.5 kB / 0.8441 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.007128, allocations: 347.1 kB / 0.8445 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.007363, allocations: 211.4 kB / 0.8447 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.007396, allocations: 24 kB / 0.8447 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.007509, allocations: 91.8 kB / 0.8448 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.007598, allocations: 127.6 kB / 0.8449 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.007697, allocations: 143.6 kB / 0.845 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.007999, allocations: 362.6 kB / 0.8454 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.008, allocations: 0 / 0.8454 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.008001, allocations: 0 / 0.8454 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.008004, allocations: 0 / 0.8454 GB, free: 7.23 MB / 0.8073 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.0007598/0.008764, allocations: 0.6119 MB / 0.846 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.008794, allocations: 16.62 kB / 0.846 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.009164, allocations: 128.6 kB / 0.8461 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.009493, allocations: 337.3 kB / 0.8464 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.00951, allocations: 25.02 kB / 0.8465 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.009547, allocations: 28.38 kB / 0.8465 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.009901, allocations: 489.8 kB / 0.847 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.009917, allocations: 11.89 kB / 0.847 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.009939, allocations: 19.98 kB / 0.847 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.009986, allocations: 40.62 kB / 0.847 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.01014, allocations: 144.2 kB / 0.8472 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01136, allocations: 2.357 MB / 0.8495 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.01162, allocations: 209.2 kB / 0.8497 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.01168, allocations: 48.84 kB / 0.8497 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.0117, allocations: 8 kB / 0.8497 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.01171, allocations: 30.56 kB / 0.8498 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.203e-06/0.01172, allocations: 0 / 0.8498 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0006281/0.01234, allocations: 385 kB / 0.8501 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.01237, allocations: 55.64 kB / 0.8502 GB, free: 2.027 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.01253, allocations: 315.2 kB / 0.8505 GB, free: 1.707 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.01254, allocations: 29.7 kB / 0.8505 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.01263, allocations: 232.6 kB / 0.8507 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.01268, allocations: 95.11 kB / 0.8508 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.01275, allocations: 74.11 kB / 0.8509 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.01284, allocations: 354.7 kB / 0.8512 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.01289, allocations: 40.98 kB / 0.8513 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.013, allocations: 195.1 kB / 0.8514 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.01321, allocations: 269.2 kB / 0.8517 GB, free: 296 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01321, allocations: 0 / 0.8517 GB, free: 296 kB / 0.8073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003193/0.01353, allocations: 320.2 kB / 0.852 GB, free: 15.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01354, allocations: 8 kB / 0.852 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01355, allocations: 4 kB / 0.852 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.01369, allocations: 71.56 kB / 0.8521 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01385, allocations: 79.89 kB / 0.8522 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.01386, allocations: 11.94 kB / 0.8522 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.676e-05/0.01396, allocations: 16 kB / 0.8522 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.01398, allocations: 15.98 kB / 0.8522 GB, free: 15.74 MB / 0.823 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.0001007/0.01408, allocations: 132.5 kB / 0.8523 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.01412, allocations: 39.91 kB / 0.8524 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.01443, allocations: 224.7 kB / 0.8526 GB, free: 15.32 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01443, allocations: 11.98 kB / 0.8526 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01444, allocations: 3.938 kB / 0.8526 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01444, allocations: 0 / 0.8526 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.01493, allocations: 0.5271 MB / 0.8531 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01494, allocations: 4 kB / 0.8531 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.01504, allocations: 35.97 kB / 0.8532 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.01515, allocations: 66.95 kB / 0.8532 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01516, allocations: 8.094 kB / 0.8532 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01516, allocations: 7.984 kB / 0.8532 GB, free: 14.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01516, allocations: 0 / 0.8532 GB, free: 14.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.01542, allocations: 375.2 kB / 0.8536 GB, free: 14.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.01548, allocations: 47.69 kB / 0.8536 GB, free: 14.15 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01551, allocations: 4 kB / 0.8536 GB, free: 14.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.01559, allocations: 15.92 kB / 0.8537 GB, free: 14.13 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.01563, allocations: 23.95 kB / 0.8537 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.01564, allocations: 8 kB / 0.8537 GB, free: 14.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.428e-05/0.01571, allocations: 124.7 kB / 0.8538 GB, free: 13.97 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01571, allocations: 4 kB / 0.8538 GB, free: 13.97 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002157/0.01593, allocations: 84 kB / 0.8539 GB, free: 13.89 MB / 0.823 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 9.741e-05/0.01602, allocations: 86.28 kB / 0.854 GB, free: 13.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.01627, allocations: 211.5 kB / 0.8542 GB, free: 13.58 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.01628, allocations: 8 kB / 0.8542 GB, free: 13.57 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01638, allocations: 100.9 kB / 0.8543 GB, free: 13.46 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01672, allocations: 132.7 kB / 0.8544 GB, free: 13.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.01747, allocations: 0.67 MB / 0.8551 GB, free: 12.63 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.01754, allocations: 117.6 kB / 0.8552 GB, free: 12.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.971e-05/0.01764, allocations: 51.33 kB / 0.8552 GB, free: 12.44 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.0178, allocations: 133.3 kB / 0.8553 GB, free: 12.31 MB / 0.823 GB Notification: Performance of SimCode: time 3.51e-07/0.0178, allocations: 0 / 0.8553 GB, free: 12.31 MB / 0.823 GB Notification: Performance of Templates: time 0.006686/0.02449, allocations: 5.105 MB / 0.8603 GB, free: 7.344 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.038578635081649]