Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007104/0.0007104, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005358/0.005358, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002868, allocations: 8 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01391/0.241, allocations: 13.44 MB / 1.072 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.2525, allocations: 9.268 MB / 1.081 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008913/0.2534, allocations: 51.62 kB / 1.081 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.2542, allocations: 277.8 kB / 1.081 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.2574, allocations: 1.404 MB / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.2589, allocations: 0.6885 MB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003371/0.2623, allocations: 3.175 MB / 1.086 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/0.2654, allocations: 1.986 MB / 1.088 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.2667, allocations: 0.8752 MB / 1.089 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.2683, allocations: 1.051 MB / 1.09 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.2685, allocations: 72 kB / 1.09 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.2698, allocations: 0.8616 MB / 1.091 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.2703, allocations: 0.5061 MB / 1.092 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.271, allocations: 0.8486 MB / 1.092 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.2731, allocations: 2.655 MB / 1.095 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2732, allocations: 0 / 1.095 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2732, allocations: 4 kB / 1.095 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.2732, allocations: 0 / 1.095 GB, free: 15.57 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002899/0.2761, allocations: 1.812 MB / 1.097 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2761, allocations: 15.97 kB / 1.097 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/0.2764, allocations: 194.4 kB / 1.097 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.2874, allocations: 2.152 MB / 1.099 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.2893, allocations: 1.201 MB / 1.1 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.2894, allocations: 90.73 kB / 1.1 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.2896, allocations: 127.8 kB / 1.101 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005194/0.2948, allocations: 2.702 MB / 1.103 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.2949, allocations: 7.938 kB / 1.103 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.295, allocations: 59.97 kB / 1.103 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005959/0.2956, allocations: 182.1 kB / 1.103 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007188/0.3028, allocations: 2.842 MB / 1.106 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.3152, allocations: 10.56 MB / 1.116 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006596/0.3219, allocations: 2.576 MB / 1.119 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/0.3249, allocations: 1.303 MB / 1.12 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.004e-05/0.3249, allocations: 9 kB / 1.12 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.325, allocations: 47.55 kB / 1.12 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 2.525e-06/0.325, allocations: 0 / 1.12 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=131): time 0.04358/0.3686, allocations: 13.45 MB / 1.133 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3687, allocations: 64.72 kB / 1.134 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.37, allocations: 1.117 MB / 1.135 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.3702, allocations: 49.7 kB / 1.135 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.3706, allocations: 0.7156 MB / 1.135 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/0.371, allocations: 449.4 kB / 1.136 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.3712, allocations: 113.7 kB / 1.136 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3714, allocations: 365.8 kB / 1.136 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/0.3746, allocations: 1.354 MB / 1.138 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/0.378, allocations: 1.624 MB / 1.139 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006648/0.3846, allocations: 3.037 MB / 1.142 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.3846, allocations: 4 kB / 1.142 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0108/0.3954, allocations: 4.481 MB / 1.146 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3955, allocations: 8 kB / 1.147 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3955, allocations: 4 kB / 1.147 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004807/0.4003, allocations: 1.435 MB / 1.148 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.4023, allocations: 447.2 kB / 1.148 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/0.4255, allocations: 24.58 MB / 1.172 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.4277, allocations: 307.7 kB / 1.173 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.4279, allocations: 64.06 kB / 1.173 GB, free: 12.81 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006851/0.4285, allocations: 442.1 kB / 1.173 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.4288, allocations: 170.1 kB / 1.173 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.44, allocations: 4.492 MB / 1.178 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.44, allocations: 12 kB / 1.178 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.4401, allocations: 12 kB / 1.178 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4401, allocations: 7.969 kB / 1.178 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.4538, allocations: 6.829 MB / 1.184 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4538, allocations: 4 kB / 1.184 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.4555, allocations: 391.6 kB / 1.185 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004354/0.4599, allocations: 1.307 MB / 1.186 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.46, allocations: 43.97 kB / 1.186 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/0.4813, allocations: 23.53 MB / 1.209 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4813, allocations: 3.938 kB / 1.209 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.4914, allocations: 4.251 MB / 1.213 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/0.492, allocations: 455 kB / 1.214 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.4922, allocations: 24 kB / 1.214 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/0.4943, allocations: 319.5 kB / 1.214 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.4945, allocations: 132.7 kB / 1.214 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.4947, allocations: 47.97 kB / 1.214 GB, free: 260 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008869/0.4956, allocations: 0.7487 MB / 1.215 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4956, allocations: 0 / 1.215 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001599/0.4972, allocations: 0.5703 MB / 1.215 GB, free: 14.93 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01028/0.5075, allocations: 4.842 MB / 1.22 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.5175, allocations: 5.146 MB / 1.225 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5175, allocations: 4 kB / 1.225 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00612/0.5237, allocations: 3.511 MB / 1.229 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.5261, allocations: 0.5062 MB / 1.229 GB, free: 492 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0395/0.5656, allocations: 21.07 MB / 1.25 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.5667, allocations: 1.481 MB / 1.251 GB, free: 9.215 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001533/0.5682, allocations: 429.6 kB / 1.252 GB, free: 8.789 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008184/0.569, allocations: 0.6242 MB / 1.252 GB, free: 8.164 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/0.5691, allocations: 0 / 1.252 GB, free: 8.164 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.438/5.007, allocations: 49.04 MB / 1.3 GB, free: 176.9 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/5.007, allocations: 249 kB / 1.3 GB, free: 176.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.997/9.004, allocations: 0 / 1.3 GB, free: 176.7 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches