Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008508/0.008508, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001797/0.001797, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.504/1.504, 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 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 60.09 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02112/1.156, allocations: 16.02 MB / 1.182 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009743/1.166, allocations: 4.82 MB / 1.187 GB, free: 14.97 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/1.168, allocations: 67.69 kB / 1.187 GB, free: 14.9 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003373/1.171, allocations: 1.049 MB / 1.188 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002885/1.174, allocations: 0.7777 MB / 1.189 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/1.177, allocations: 0.922 MB / 1.19 GB, free: 12.15 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004793/1.182, allocations: 3.614 MB / 1.193 GB, free: 8.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005649/1.188, allocations: 4.765 MB / 1.198 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/1.191, allocations: 1.601 MB / 1.199 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003145/1.194, allocations: 1.78 MB / 1.201 GB, free: 308 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006065/1.195, allocations: 340 kB / 1.202 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/1.196, allocations: 0.7996 MB / 1.202 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001366/1.198, allocations: 1.326 MB / 1.204 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/1.199, allocations: 1.455 MB / 1.205 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005613/1.205, allocations: 5.148 MB / 1.21 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.205, allocations: 0 / 1.21 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.205, allocations: 0 / 1.21 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001245/1.205, allocations: 0 / 1.21 GB, free: 7.219 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00588/1.211, allocations: 2.713 MB / 1.213 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.211, allocations: 12.88 kB / 1.213 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00398/1.215, allocations: 0.8538 MB / 1.214 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/1.219, allocations: 1.564 MB / 1.215 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/1.219, allocations: 177.1 kB / 1.215 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005528/1.22, allocations: 232.4 kB / 1.215 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007349/1.227, allocations: 4.169 MB / 1.22 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/1.227, allocations: 7.938 kB / 1.22 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/1.228, allocations: 95.98 kB / 1.22 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/1.228, allocations: 164.5 kB / 1.22 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00634/1.234, allocations: 3.636 MB / 1.223 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02101/1.255, allocations: 16.44 MB / 1.239 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003408/1.259, allocations: 2.304 MB / 1.242 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008828/1.26, allocations: 0.5881 MB / 1.242 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/1.26, allocations: 89.67 kB / 1.242 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/1.26, allocations: 47.05 kB / 1.242 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=72): time 2.796e-06/1.26, allocations: 4 kB / 1.242 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.005791/1.266, allocations: 3.503 MB / 1.246 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.266, allocations: 111.5 kB / 1.246 GB, free: 484 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.267, allocations: 1.018 MB / 1.247 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/1.267, allocations: 37.7 kB / 1.247 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/1.268, allocations: 1.138 MB / 1.248 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/1.268, allocations: 297.6 kB / 1.248 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/1.269, allocations: 279.4 kB / 1.249 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.269, allocations: 410.7 kB / 1.249 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008997/1.27, allocations: 0.6167 MB / 1.25 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/1.271, allocations: 1.193 MB / 1.251 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/1.273, allocations: 1.86 MB / 1.253 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.273, allocations: 8 kB / 1.253 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003151/1.276, allocations: 2.023 MB / 1.255 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/1.276, allocations: 16 kB / 1.255 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/1.276, allocations: 19.98 kB / 1.255 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/1.277, allocations: 163.3 kB / 1.255 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.278, allocations: 343.8 kB / 1.255 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.491e-05/1.278, allocations: 39.86 kB / 1.255 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.279, allocations: 131.8 kB / 1.255 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/1.279, allocations: 64 kB / 1.255 GB, free: 6.223 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.001551/1.281, allocations: 0.9781 MB / 1.256 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/1.281, allocations: 119.2 kB / 1.256 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/1.283, allocations: 1.222 MB / 1.258 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/1.283, allocations: 11.94 kB / 1.258 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.283, allocations: 11.92 kB / 1.258 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.283, allocations: 7.922 kB / 1.258 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/1.289, allocations: 3.802 MB / 1.261 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.289, allocations: 4 kB / 1.261 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/1.29, allocations: 159.8 kB / 1.261 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003906/1.29, allocations: 135.3 kB / 1.262 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/1.29, allocations: 16.25 kB / 1.262 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/1.29, allocations: 15.92 kB / 1.262 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.29, allocations: 7.938 kB / 1.262 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/1.293, allocations: 1.462 MB / 1.263 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/1.293, allocations: 276.4 kB / 1.263 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.293, allocations: 27.92 kB / 1.263 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/1.294, allocations: 59.91 kB / 1.263 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.294, allocations: 64.36 kB / 1.263 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/1.294, allocations: 24 kB / 1.263 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009423/1.295, allocations: 0.6914 MB / 1.264 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.295, allocations: 0 / 1.264 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001489/1.296, allocations: 392 kB / 1.264 GB, free: 12.49 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.0002221/1.297, allocations: 123.1 kB / 1.265 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002511/1.299, allocations: 1.721 MB / 1.266 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/1.299, allocations: 4 kB / 1.266 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009776/1.3, allocations: 0.864 MB / 1.267 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.302, allocations: 264.8 kB / 1.267 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006446/1.308, allocations: 3.83 MB / 1.271 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.31, allocations: 1.927 MB / 1.273 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001125/1.311, allocations: 441.4 kB / 1.273 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/1.311, allocations: 79.38 kB / 1.274 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.311, allocations: 4 kB / 1.274 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of Templates: time 0.02608/1.337, allocations: 13.66 MB / 1.287 GB, free: 5.441 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches