Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0012/0.0012, allocations: 197 kB / 16.14 MB, free: 6.711 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.119/2.119, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.5983, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005981/0.6043, allocations: 6.086 MB / 0.955 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003821/0.6082, allocations: 3.165 MB / 0.9581 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.6085, allocations: 30.72 kB / 0.9581 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.6102, allocations: 0.8738 MB / 0.959 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007367/0.6109, allocations: 439.4 kB / 0.9594 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.6118, allocations: 447.3 kB / 0.9598 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.6129, allocations: 1.462 MB / 0.9612 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000841/0.6138, allocations: 0.6196 MB / 0.9619 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.6143, allocations: 384.8 kB / 0.9622 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.6148, allocations: 490.6 kB / 0.9627 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.557e-05/0.6148, allocations: 43.44 kB / 0.9627 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009058/0.6158, allocations: 0.5844 MB / 0.9633 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.616, allocations: 277.4 kB / 0.9636 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.6164, allocations: 379.3 kB / 0.9639 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.6175, allocations: 1.183 MB / 0.9651 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.6175, allocations: 1.219 kB / 0.9651 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6175, allocations: 0 / 0.9651 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.6175, allocations: 0 / 0.9651 GB, free: 13.43 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001501/0.619, allocations: 1.049 MB / 0.9661 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.6191, allocations: 8.938 kB / 0.9661 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.6192, allocations: 120.5 kB / 0.9662 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.6207, allocations: 217.6 kB / 0.9664 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007206/0.6214, allocations: 0.5395 MB / 0.967 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.6215, allocations: 46.52 kB / 0.967 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6216, allocations: 65.39 kB / 0.9671 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.6229, allocations: 1.03 MB / 0.9681 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.623, allocations: 6.625 kB / 0.9681 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.6231, allocations: 32.77 kB / 0.9681 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.64e-05/0.6231, allocations: 70.95 kB / 0.9682 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009978/0.6241, allocations: 0.6906 MB / 0.9689 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.6287, allocations: 5.747 MB / 0.9745 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/0.6295, allocations: 0.5999 MB / 0.9751 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000756/0.6303, allocations: 430.9 kB / 0.9755 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.6303, allocations: 4.188 kB / 0.9755 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.6303, allocations: 39.94 kB / 0.9755 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/0.6303, allocations: 0 / 0.9755 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004234/0.6346, allocations: 2.052 MB / 0.9775 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.6346, allocations: 55.78 kB / 0.9776 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.6351, allocations: 458.2 kB / 0.978 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.6351, allocations: 30.83 kB / 0.978 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.6353, allocations: 389.7 kB / 0.9784 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6355, allocations: 149.9 kB / 0.9785 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.6356, allocations: 111.9 kB / 0.9787 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6358, allocations: 364 kB / 0.979 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.6361, allocations: 244.4 kB / 0.9792 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.6366, allocations: 462.7 kB / 0.9797 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/0.6375, allocations: 0.7563 MB / 0.9804 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6375, allocations: 3.938 kB / 0.9804 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001778/0.6393, allocations: 1.058 MB / 0.9815 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6393, allocations: 8 kB / 0.9815 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.6393, allocations: 16.05 kB / 0.9815 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.6404, allocations: 331.1 kB / 0.9818 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.6407, allocations: 95.83 kB / 0.9819 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/0.6469, allocations: 6.947 MB / 0.9887 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.6474, allocations: 36.02 kB / 0.9887 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.6474, allocations: 24 kB / 0.9887 GB, free: 7.848 MB / 0.7481 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003987/0.6478, allocations: 247.5 kB / 0.989 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.6479, allocations: 55.62 kB / 0.989 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.6496, allocations: 0.9117 MB / 0.9899 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6496, allocations: 7.938 kB / 0.9899 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.6496, allocations: 7.938 kB / 0.9899 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6496, allocations: 3.938 kB / 0.9899 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.6522, allocations: 1.704 MB / 0.9916 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6522, allocations: 0 / 0.9916 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.6523, allocations: 43.91 kB / 0.9916 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009361/0.6533, allocations: 327.3 kB / 0.9919 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.6533, allocations: 12 kB / 0.992 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006157/0.6595, allocations: 6.931 MB / 0.9987 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.6595, allocations: 8 kB / 0.9987 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.6611, allocations: 1.015 MB / 0.9997 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.6614, allocations: 180.3 kB / 0.9999 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.6615, allocations: 8 kB / 0.9999 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.6618, allocations: 19.98 kB / 0.9999 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6619, allocations: 51.81 kB / 1 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.6619, allocations: 12.28 kB / 1 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003273/0.6623, allocations: 306.9 kB / 1 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6623, allocations: 0 / 1 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008217/0.6631, allocations: 195.9 kB / 1 GB, free: 11.1 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001882/0.665, allocations: 1.555 MB / 1.002 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.6668, allocations: 1.203 MB / 1.003 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6668, allocations: 0 / 1.003 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.668, allocations: 0.8698 MB / 1.004 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/0.6689, allocations: 187.6 kB / 1.004 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/0.6773, allocations: 6.236 MB / 1.01 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.6779, allocations: 0.9881 MB / 1.011 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.6782, allocations: 101.2 kB / 1.011 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.6785, allocations: 227.3 kB / 1.012 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6785, allocations: 3.938 kB / 1.012 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.096/2.774, allocations: 14.7 MB / 1.026 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/2.774, allocations: 229.9 kB / 1.026 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/4.777, allocations: 0 / 1.026 GB, free: 0.5039 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches