Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001504/0.001504, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001506/0.001506, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.588/2.588, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001874, allocations: 67.73 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005264/0.3085, allocations: 3.781 MB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.3114, allocations: 1.781 MB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.3116, allocations: 15.88 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008634/0.3125, allocations: 246.9 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.3131, allocations: 278.7 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.3136, allocations: 226.2 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.3142, allocations: 0.6127 MB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.3147, allocations: 278.5 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.3151, allocations: 235 kB / 1.071 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.3154, allocations: 247 kB / 1.072 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.3154, allocations: 24 kB / 1.072 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.3158, allocations: 267.4 kB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.316, allocations: 123.6 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.3162, allocations: 210.8 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.3167, allocations: 459.2 kB / 1.073 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3167, allocations: 0 / 1.073 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3167, allocations: 0 / 1.073 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.3167, allocations: 0 / 1.073 GB, free: 6.355 MB / 0.8419 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.00113/0.3179, allocations: 0.7324 MB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3179, allocations: 11.97 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.3187, allocations: 132.2 kB / 1.074 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.3192, allocations: 375.7 kB / 1.074 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3193, allocations: 32.95 kB / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.3193, allocations: 28.38 kB / 1.074 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.3201, allocations: 0.5471 MB / 1.074 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3202, allocations: 8 kB / 1.074 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.3202, allocations: 15.98 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.3203, allocations: 40.53 kB / 1.075 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.321, allocations: 409.7 kB / 1.075 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.3239, allocations: 3.337 MB / 1.078 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4564/0.7803, allocations: 332.8 kB / 1.078 GB, free: 22.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.7808, allocations: 175.8 kB / 1.079 GB, free: 22.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.7808, allocations: 2.938 kB / 1.079 GB, free: 22.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.7808, allocations: 38.3 kB / 1.079 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 2.565e-06/0.7808, allocations: 0.5625 kB / 1.079 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27): time 0.002107/0.783, allocations: 1.061 MB / 1.08 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.783, allocations: 60.33 kB / 1.08 GB, free: 22.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.7834, allocations: 341.1 kB / 1.08 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.7834, allocations: 32.36 kB / 1.08 GB, free: 22.1 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.7835, allocations: 245.8 kB / 1.08 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.7836, allocations: 96.27 kB / 1.08 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.7837, allocations: 78.92 kB / 1.081 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.7838, allocations: 346.1 kB / 1.081 GB, free: 21.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.7841, allocations: 150.9 kB / 1.081 GB, free: 21.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.7844, allocations: 287.7 kB / 1.081 GB, free: 21.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005627/0.785, allocations: 485.6 kB / 1.082 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.785, allocations: 1.188 kB / 1.082 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008767/0.7859, allocations: 0.5635 MB / 1.082 GB, free: 20.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7859, allocations: 7.5 kB / 1.082 GB, free: 20.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7859, allocations: 4.719 kB / 1.082 GB, free: 20.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/0.7862, allocations: 87.11 kB / 1.082 GB, free: 20.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.7865, allocations: 86.33 kB / 1.082 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.7866, allocations: 17.12 kB / 1.083 GB, free: 20.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.7868, allocations: 34.05 kB / 1.083 GB, free: 20.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.7869, allocations: 18.62 kB / 1.083 GB, free: 20.74 MB / 0.8419 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.0001571/0.787, allocations: 174.2 kB / 1.083 GB, free: 20.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.7871, allocations: 39.94 kB / 1.083 GB, free: 20.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008413/0.7879, allocations: 468.9 kB / 1.083 GB, free: 20.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.788, allocations: 2.969 kB / 1.083 GB, free: 20.36 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.788, allocations: 1.094 kB / 1.083 GB, free: 20.36 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.788, allocations: 1.453 kB / 1.083 GB, free: 20.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.7893, allocations: 0.9603 MB / 1.084 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7893, allocations: 1.891 kB / 1.084 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.7895, allocations: 62.17 kB / 1.084 GB, free: 19.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/0.7897, allocations: 78.72 kB / 1.084 GB, free: 19.76 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.7898, allocations: 6.375 kB / 1.084 GB, free: 19.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7898, allocations: 6.969 kB / 1.084 GB, free: 19.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7898, allocations: 1.438 kB / 1.084 GB, free: 19.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/0.7905, allocations: 0.5421 MB / 1.085 GB, free: 19.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.7906, allocations: 140.8 kB / 1.085 GB, free: 19.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.7907, allocations: 10.92 kB / 1.085 GB, free: 19.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.7909, allocations: 29.62 kB / 1.085 GB, free: 19.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.791, allocations: 19.33 kB / 1.085 GB, free: 19.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.791, allocations: 9.344 kB / 1.085 GB, free: 19.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002075/0.7913, allocations: 234.8 kB / 1.085 GB, free: 19.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7913, allocations: 0 / 1.085 GB, free: 19.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004091/0.7917, allocations: 89.41 kB / 1.085 GB, free: 19.15 MB / 0.8419 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.00012/0.7918, allocations: 106.7 kB / 1.085 GB, free: 19.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008474/0.7927, allocations: 0.6621 MB / 1.086 GB, free: 18.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7927, allocations: 0 / 1.086 GB, free: 18.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.793, allocations: 434.1 kB / 1.087 GB, free: 18.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.7937, allocations: 129.9 kB / 1.087 GB, free: 18.24 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.7947, allocations: 0.9251 MB / 1.088 GB, free: 17.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.795, allocations: 0.8224 MB / 1.088 GB, free: 16.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/0.7951, allocations: 32.48 kB / 1.088 GB, free: 16.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.7951, allocations: 0.6562 kB / 1.088 GB, free: 16.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.01419/0.8093, allocations: 9.441 MB / 1.098 GB, free: 16.23 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches