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.001593/0.001593, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001611/0.001612, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.16 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.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8066/0.8081, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004662/0.8128, allocations: 3.751 MB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.8157, allocations: 1.793 MB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.816, allocations: 16.69 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008761/0.8169, allocations: 268.4 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008063/0.8177, allocations: 292.6 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.8184, allocations: 253.8 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008578/0.8193, allocations: 0.6064 MB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.8197, allocations: 250.9 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.8201, allocations: 241 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.8205, allocations: 232.5 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.8206, allocations: 26.28 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006504/0.8213, allocations: 279.4 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.8214, allocations: 125.1 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.8216, allocations: 211.5 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000888/0.8225, allocations: 0.5849 MB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8226, allocations: 5.281 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8226, allocations: 4 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.8226, allocations: 0.5625 kB / 1.097 GB, free: 144 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.001235/0.8238, allocations: 0.7259 MB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8239, allocations: 9.469 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.8248, allocations: 141.5 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.8255, allocations: 410 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.8255, allocations: 24.92 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.8256, allocations: 28.14 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000916/0.8265, allocations: 0.5536 MB / 1.099 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.8265, allocations: 2.438 kB / 1.099 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.8266, allocations: 21.02 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.179e-05/0.8266, allocations: 41.58 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.8274, allocations: 412.4 kB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.8305, allocations: 3.326 MB / 1.103 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.8312, allocations: 339.4 kB / 1.103 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.8316, allocations: 185 kB / 1.103 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.8316, allocations: 6.016 kB / 1.103 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.8317, allocations: 33.23 kB / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.755e-06/0.8317, allocations: 0 / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27): time 0.002283/0.834, allocations: 1.07 MB / 1.104 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.834, allocations: 55.47 kB / 1.104 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.8345, allocations: 339.1 kB / 1.105 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.8345, allocations: 30.83 kB / 1.105 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.8347, allocations: 245.5 kB / 1.105 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.8348, allocations: 96.53 kB / 1.105 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.835, allocations: 77.8 kB / 1.105 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8351, allocations: 351.4 kB / 1.106 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.8354, allocations: 153.7 kB / 1.106 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.8358, allocations: 289.3 kB / 1.106 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/0.8365, allocations: 480.5 kB / 1.106 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.8365, allocations: 0.9688 kB / 1.106 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001047/0.8375, allocations: 0.558 MB / 1.107 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8376, allocations: 8.906 kB / 1.107 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8376, allocations: 4.844 kB / 1.107 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.8379, allocations: 92.95 kB / 1.107 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.8383, allocations: 88.27 kB / 1.107 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.8383, allocations: 11.92 kB / 1.107 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.8386, allocations: 32.77 kB / 1.107 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.8386, allocations: 19.52 kB / 1.107 GB, free: 9.008 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.0001988/0.8388, allocations: 166 kB / 1.107 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.8389, allocations: 39 kB / 1.107 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000925/0.8398, allocations: 481.2 kB / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8399, allocations: 2.781 kB / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.8399, allocations: 1.688 kB / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8399, allocations: 1.312 kB / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.8414, allocations: 0.9613 MB / 1.109 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.8414, allocations: 1.906 kB / 1.109 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.8417, allocations: 50.67 kB / 1.109 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.8419, allocations: 86.81 kB / 1.109 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.842, allocations: 6.125 kB / 1.109 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.842, allocations: 2.219 kB / 1.109 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.842, allocations: 1.766 kB / 1.109 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.8428, allocations: 0.543 MB / 1.109 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.843, allocations: 130.8 kB / 1.11 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/0.8431, allocations: 15.56 kB / 1.11 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.8433, allocations: 21.59 kB / 1.11 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.8434, allocations: 31.55 kB / 1.11 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.8434, allocations: 9.25 kB / 1.11 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002414/0.8437, allocations: 240 kB / 1.11 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8437, allocations: 0 / 1.11 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004542/0.8441, allocations: 88.81 kB / 1.11 GB, free: 7.402 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.000123/0.8443, allocations: 104.3 kB / 1.11 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00092/0.8452, allocations: 0.639 MB / 1.111 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8452, allocations: 0 / 1.111 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.8457, allocations: 434.6 kB / 1.111 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/0.8464, allocations: 131.5 kB / 1.111 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.8478, allocations: 0.745 MB / 1.112 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.8483, allocations: 0.8269 MB / 1.113 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.8484, allocations: 31.75 kB / 1.113 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.8484, allocations: 0 / 1.113 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of Templates: time 0.01469/0.8631, allocations: 9.476 MB / 1.122 GB, free: 4.59 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/jenkins1/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