Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.506/2.506, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8154, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005284/0.8208, allocations: 4.286 MB / 0.9538 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003304/0.8241, allocations: 2.373 MB / 0.9561 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.8245, allocations: 17.09 kB / 0.9561 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.8255, allocations: 381.5 kB / 0.9565 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007478/0.8263, allocations: 366.5 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.8269, allocations: 322.4 kB / 0.9571 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.8275, allocations: 0.679 MB / 0.9578 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.8279, allocations: 262.4 kB / 0.958 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.8282, allocations: 252.3 kB / 0.9583 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.8285, allocations: 264.6 kB / 0.9585 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.8285, allocations: 34.25 kB / 0.9586 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006529/0.8292, allocations: 427.5 kB / 0.959 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.8293, allocations: 143.5 kB / 0.9591 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.8295, allocations: 239 kB / 0.9593 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.8303, allocations: 0.7192 MB / 0.96 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8303, allocations: 1.031 kB / 0.96 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.835e-06/0.8303, allocations: 0 / 0.96 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.8304, allocations: 3.938 kB / 0.9601 GB, free: 1.398 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00111/0.8315, allocations: 0.7915 MB / 0.9608 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8315, allocations: 9.281 kB / 0.9608 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.8328, allocations: 183 kB / 0.961 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.8333, allocations: 403.6 kB / 0.9614 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.8333, allocations: 26.19 kB / 0.9614 GB, free: 280 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.8334, allocations: 41.91 kB / 0.9615 GB, free: 260 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.8343, allocations: 0.6533 MB / 0.9621 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.8343, allocations: 14.09 kB / 0.9621 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.8343, allocations: 13.41 kB / 0.9621 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/0.8344, allocations: 55.88 kB / 0.9622 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.8352, allocations: 499.6 kB / 0.9627 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.8386, allocations: 3.787 MB / 0.9663 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.8405, allocations: 0.6272 MB / 0.967 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.8408, allocations: 185.5 kB / 0.9671 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.8408, allocations: 3.25 kB / 0.9671 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.8409, allocations: 40.78 kB / 0.9672 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.905e-06/0.8409, allocations: 1.312 kB / 0.9672 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002594/0.8435, allocations: 1.271 MB / 0.9684 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.8436, allocations: 115.2 kB / 0.9685 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.844, allocations: 397.9 kB / 0.9689 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.8441, allocations: 31.02 kB / 0.9689 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.8443, allocations: 286.4 kB / 0.9692 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.8444, allocations: 113.4 kB / 0.9693 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.8445, allocations: 106.5 kB / 0.9694 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8447, allocations: 349.6 kB / 0.9698 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.845, allocations: 178.4 kB / 0.9699 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.8454, allocations: 378.5 kB / 0.9703 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000803/0.8462, allocations: 0.5897 MB / 0.9709 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.8463, allocations: 6.5 kB / 0.9709 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001239/0.8475, allocations: 0.6601 MB / 0.9715 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.8475, allocations: 8.188 kB / 0.9715 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.8476, allocations: 9.922 kB / 0.9715 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.848, allocations: 105.5 kB / 0.9716 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.8484, allocations: 110.7 kB / 0.9717 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.8522, allocations: 4.339 MB / 0.976 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.8527, allocations: 30 kB / 0.976 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.8528, allocations: 28.31 kB / 0.976 GB, free: 3.469 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.8531, allocations: 196.8 kB / 0.9762 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.8532, allocations: 50.53 kB / 0.9763 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.8543, allocations: 0.5216 MB / 0.9768 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.8543, allocations: 8.484 kB / 0.9768 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8543, allocations: 2.188 kB / 0.9768 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.8543, allocations: 5.047 kB / 0.9768 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.8563, allocations: 1.282 MB / 0.978 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8563, allocations: 2.656 kB / 0.978 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.8566, allocations: 61.95 kB / 0.9781 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.8569, allocations: 94.45 kB / 0.9782 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.8569, allocations: 13.08 kB / 0.9782 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.8606, allocations: 4.334 MB / 0.9824 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.8606, allocations: 10.47 kB / 0.9825 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.8618, allocations: 0.7765 MB / 0.9832 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.8621, allocations: 157.3 kB / 0.9834 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.8622, allocations: 8.812 kB / 0.9834 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.8625, allocations: 25.66 kB / 0.9834 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.8626, allocations: 38.44 kB / 0.9834 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.8626, allocations: 14.09 kB / 0.9834 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003987/0.863, allocations: 275.9 kB / 0.9837 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8631, allocations: 1.281 kB / 0.9837 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008814/0.8639, allocations: 123.8 kB / 0.9838 GB, free: 12.46 MB / 0.7481 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.8641, allocations: 114.8 kB / 0.9839 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.8657, allocations: 0.825 MB / 0.9847 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8657, allocations: 0 / 0.9847 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007933/0.8665, allocations: 0.5429 MB / 0.9853 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.8677, allocations: 145 kB / 0.9854 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.8692, allocations: 0.9126 MB / 0.9863 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.8697, allocations: 0.8586 MB / 0.9871 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002936/0.87, allocations: 108.5 kB / 0.9872 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.8701, allocations: 39.44 kB / 0.9873 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/0.8701, allocations: 0 / 0.9873 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of Templates: time 0.01112/0.8812, allocations: 5.76 MB / 0.9929 GB, free: 3.5 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches