Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007459/0.007459, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 197.5 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 63.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005359/1.04, allocations: 3.75 MB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003483/1.044, allocations: 1.797 MB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/1.044, allocations: 17.88 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000974/1.045, allocations: 264.3 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007901/1.046, allocations: 312.4 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/1.047, allocations: 241.5 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000757/1.048, allocations: 0.6122 MB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/1.048, allocations: 258.4 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/1.049, allocations: 238.4 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/1.049, allocations: 235.9 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/1.049, allocations: 27.12 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006189/1.05, allocations: 274 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/1.05, allocations: 130.5 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/1.05, allocations: 205.9 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009635/1.051, allocations: 0.5901 MB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.051, allocations: 0 / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of FrontEnd: time 3.907e-06/1.051, allocations: 0.9688 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.96e-05/1.051, allocations: 0.7969 kB / 1.097 GB, free: 172 kB / 0.8575 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.001703/1.053, allocations: 0.7374 MB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/1.053, allocations: 9.844 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.054, allocations: 132.9 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/1.055, allocations: 410.6 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/1.055, allocations: 20.03 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/1.055, allocations: 32.05 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/1.057, allocations: 0.5544 MB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/1.057, allocations: 6.156 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/1.057, allocations: 12.06 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/1.057, allocations: 41.72 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/1.058, allocations: 408.8 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/1.062, allocations: 3.33 MB / 1.102 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/1.063, allocations: 342.7 kB / 1.102 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/1.063, allocations: 182.7 kB / 1.103 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.063, allocations: 4.125 kB / 1.103 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/1.063, allocations: 31.69 kB / 1.103 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 3.607e-06/1.063, allocations: 1.125 kB / 1.103 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27): time 0.002478/1.066, allocations: 1.07 MB / 1.104 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/1.066, allocations: 54.33 kB / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/1.066, allocations: 339.9 kB / 1.104 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/1.066, allocations: 34.77 kB / 1.104 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/1.066, allocations: 241 kB / 1.104 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/1.067, allocations: 100.8 kB / 1.104 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/1.067, allocations: 78.39 kB / 1.105 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.067, allocations: 346.8 kB / 1.105 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/1.067, allocations: 150.5 kB / 1.105 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/1.068, allocations: 297.1 kB / 1.105 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/1.068, allocations: 475.9 kB / 1.106 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.068, allocations: 1.25 kB / 1.106 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001119/1.07, allocations: 0.5661 MB / 1.106 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.07, allocations: 6.844 kB / 1.106 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.07, allocations: 5.344 kB / 1.106 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/1.07, allocations: 86.8 kB / 1.106 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/1.07, allocations: 88 kB / 1.106 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/1.07, allocations: 8.203 kB / 1.106 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/1.071, allocations: 38.38 kB / 1.107 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/1.071, allocations: 21.5 kB / 1.107 GB, free: 9.031 MB / 0.8731 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.0002248/1.071, allocations: 166.3 kB / 1.107 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/1.071, allocations: 39.89 kB / 1.107 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009377/1.072, allocations: 472.8 kB / 1.107 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.072, allocations: 2.188 kB / 1.107 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.072, allocations: 1.25 kB / 1.107 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/1.072, allocations: 2.953 kB / 1.107 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/1.074, allocations: 0.9657 MB / 1.108 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.074, allocations: 3.938 kB / 1.108 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/1.074, allocations: 52.48 kB / 1.108 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/1.074, allocations: 80.58 kB / 1.108 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/1.074, allocations: 7.422 kB / 1.108 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.074, allocations: 2.906 kB / 1.108 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.074, allocations: 0 / 1.108 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/1.075, allocations: 0.5486 MB / 1.109 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/1.075, allocations: 134.3 kB / 1.109 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/1.075, allocations: 12.31 kB / 1.109 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/1.076, allocations: 21.12 kB / 1.109 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/1.076, allocations: 27.36 kB / 1.109 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/1.076, allocations: 5.625 kB / 1.109 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002741/1.076, allocations: 233.9 kB / 1.109 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/1.076, allocations: 0 / 1.109 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004802/1.076, allocations: 85.97 kB / 1.109 GB, free: 7.441 MB / 0.8731 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.0001517/1.077, allocations: 111.7 kB / 1.109 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009856/1.078, allocations: 0.6396 MB / 1.11 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.078, allocations: 0 / 1.11 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005091/1.078, allocations: 436.2 kB / 1.11 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/1.079, allocations: 136.7 kB / 1.111 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/1.08, allocations: 0.7176 MB / 1.111 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/1.081, allocations: 0.823 MB / 1.112 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002728/1.081, allocations: 84.38 kB / 1.112 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/1.081, allocations: 28.81 kB / 1.112 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.081, allocations: 1.469 kB / 1.112 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of Templates: time 0.01257/1.094, allocations: 4.734 MB / 1.117 GB, free: 5.027 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches